timezone
Timezone information.
type tg.Timezone struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ID | string | yes | Unique timezone ID. |
Name | string | yes | Human-readable and localized timezone name. |
UtcOffset | int | yes | 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). |
References
- Official documentation
- Generated Go reference
- TL definition:
timezone#ff9289f5