Skip to main content

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

NameTypeRequiredDescription
HashintyesHash used for caching, for more info click here.

Returns

HelpTimezonesListClass

References