Layer 220
AccountCancelPasswordEmail
Cancel the code that was sent to verify an email to use as 2 FA recovery method.
method
Users
account.cancelPasswordEmail#c1cbd5b6 = Bool;
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | EMAIL_HASH_EXPIRED | Email hash expired. |
Gogram Example
// AccountCancelPasswordEmail - positional arguments result, err := client.AccountCancelPasswordEmail() if err != nil { // handle error } // result is *tg.Bool