Layer 220
HelpAcceptTermsOfService
Accept the new terms of service
method
Users
help.acceptTermsOfService#ee72f79a id:DataJSON = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | DataJSON | ID of terms of service |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | DATA_JSON_INVALID | The provided JSON data is invalid. |
Gogram Example
// HelpAcceptTermsOfService - positional arguments result, err := client.HelpAcceptTermsOfService(&tg.DataJson{}) if err != nil { // handle error } // result is *tg.Bool