Layer 224
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 - using Params struct result, err := client.AccountUpdateBirthday(&tg.AccountUpdateBirthdayParams{ // Optional fields: // Birthday: &tg.Birthday{}, }) 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. |