Layer 224
TimezoneObj
Timezone information.
constructor
timezone#ff9289f5 id:string name:string utc_offset:int = Timezone;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | Unique timezone ID. |
| Name | string | Human-readable and localized timezone name. |
| UtcOffset | int | UTC offset in seconds, which may be displayed in hh: mm format by the client together with the human-readable name (i. e. $name UTC -01:00 ). |
Returns
TimezoneGogram Example
// Creating TimezoneObj constructor obj := &tg.TimezoneObj{ Id: "Hello, World!", Name: "Hello, World!", UtcOffset: 42, }