help.TimezonesList

class pyrogram.raw.types.help.TimezonesList

Timezone information that may be used elsewhere in the API, such as to set Telegram Business opening hours ».

Constructor of TimezonesList.

Details:
  • Layer: 223

  • ID: 7B74ED71

Parameters:
  • timezones (List of Timezone) – Timezones

  • hash (int 32-bit) – Hash used for caching, for more info click here

Functions:

This object can be returned by 1 function.

help.GetTimezonesList

Returns timezone information that may be used elsewhere in the API, such as to set Telegram Business opening hours ».

TL Schema

help.timezonesList#7b74ed71
timezones:Vector<Timezone>
hash:int

= help.TimezonesList

Parameter Tree

TimezonesList
├── timezonesVector < Timezone >
│ └── Timezone
│ ├── idstring
│ ├── namestring
│ └── utc_offsetint
└── hashint

Example

TimezonesList(
    timezones=[
            Timezone(
                id="text",
                name="text",
                utc_offset=0
            )
        ],
    hash=0,
)