Layer 220
HelpTermsOfServiceUpdate
Info about an update of telegram's terms of service. If the terms of service are declined, then the account. delete Account method should be called with the reason "Decline To S update"
constructor
help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate;
Parameters
| Name | Type | Description |
|---|---|---|
| Expires | int | New TOS updates will have to be queried using help. get Terms Of Service Update in expires seconds |
| TermsOfService | help.TermsOfService | New terms of service |
Returns
help.TermsOfServiceUpdateGogram Example
// Creating HelpTermsOfServiceUpdate constructor obj := &tg.HelpTermsOfServiceUpdate{ Expires: 0, TermsOfService: nil, }