help.getTimezonesList
Returns timezone information that may be used elsewhere in the API, such as to set Telegram Business opening hours ».
func (c *Client) HelpGetTimezonesList(ctx context.Context, hash int) (HelpTimezonesListClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.HelpGetTimezonesList(ctx, hash)
if err != nil {
return err
}
_ = res // HelpTimezonesListClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Hash | int | yes | Hash used for caching, for more info click here. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
help.getTimezonesList#49b30240