Timezone

class pyrogram.raw.types.Timezone

Timezone information.

Constructor of Timezone.

Details:
  • Layer: 223

  • ID: FF9289F5

Parameters:
  • id (str) – Unique timezone ID.

  • name (str) – Human-readable and localized timezone name.

  • utc_offset (int 32-bit) – 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).

TL Schema

timezone#ff9289f5
id:string
name:string
utc_offset:int

= Timezone

Parameter Tree

Timezone
├── idstring
├── namestring
└── utc_offsetint

Example

Timezone(
    id="text",
    name="text",
    utc_offset=0,
)