Layer 227
AccountUpdateBirthday
Update our birthday, see here for more info.
method
Users
account.updateBirthday#cc6e0c11 flags:# birthday:flags.0?Birthday = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Birthday | flags .0? Birthday | Birthday. |
Returns
BoolGogram Example
// AccountUpdateBirthday - positional arguments result, err := client.AccountUpdateBirthday(nil) if err != nil { // handle error } // result is *tg.Bool
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | BIRTHDAY_INVALID | An invalid age was specified, must be between 0 and 150 years. |