Layer 220
Timezone
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 Timezone constructor obj := &tg.Timezone{ Id: "...", Name: "...", UtcOffset: 0, }