Layer 220
AccountResetPasswordResult
Abstract type representing one of 3 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.AccountResetPasswordResult interface.
Use any of the following constructors:
AccountResetPasswordFailedWait
You recently requested a password reset that was canceled, please wait until the specified date befo
AccountResetPasswordRequestedWait
You successfully requested a password reset, please wait until the specified date before finalizing
AccountResetPasswordOk
The 2 FA password was reset successfully.
Gogram Example
// account.ResetPasswordResult is an interface type // You can use any of the following constructors: var _ tg.AccountResetPasswordResult = &tg.AccountResetPasswordFailedWait{} var _ tg.AccountResetPasswordResult = &tg.AccountResetPasswordRequestedWait{} var _ tg.AccountResetPasswordResult = &tg.AccountResetPasswordOk{}