help.getTermsOfServiceUpdate
Look for updates of telegram's terms of service
func (c *Client) HelpGetTermsOfServiceUpdate(ctx context.Context) (HelpTermsOfServiceUpdateClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.HelpGetTermsOfServiceUpdate(ctx)
if err != nil {
return err
}
_ = res // HelpTermsOfServiceUpdateClass
return nil
})
Parameters
This method takes no parameters.
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
help.getTermsOfServiceUpdate#2ca51fd1