Layer 220
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

Timezone

Gogram Example

// Creating Timezone constructor
obj := &tg.Timezone{
    Id: "...",
    Name: "...",
    UtcOffset: 0,
}