haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ResendCodeReason

Synopsis

Documentation

data ResendCodeReason Source #

Describes the reason why a code needs to be re-sent

Constructors

ResendCodeReasonUserRequest

The user requested to resend the code

ResendCodeReasonVerificationFailed

The code is re-sent, because device verification has failed

Fields

  • error_message :: Maybe Text

    Cause of the verification failure, for example, PLAY_SERVICES_NOT_AVAILABLE, APNS_RECEIVE_TIMEOUT, or APNS_INIT_FAILED