haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ResetPasswordResult

Synopsis

Documentation

data ResetPasswordResult Source #

Represents result of 2-step verification password reset

Constructors

ResetPasswordResultOk

The password was reset

ResetPasswordResultPending

The password reset request is pending

Fields

  • pending_reset_date :: Maybe Int

    Point in time (Unix timestamp) after which the password can be reset immediately using resetPassword

ResetPasswordResultDeclined

The password reset request was declined

Fields

  • retry_date :: Maybe Int

    Point in time (Unix timestamp) when the password reset can be retried