Module tdlight.api

Class TdApi.AuthorizationStateWaitPassword

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthorizationState
it.tdlight.jni.TdApi.AuthorizationStateWaitPassword
Enclosing class:
TdApi

public static final class TdApi.AuthorizationStateWaitPassword extends TdApi.AuthorizationState
The user has been authorized, but needs to enter a 2-step verification password to start using the application.
  • Field Details

    • passwordHint

      public String passwordHint
      Hint for the password; may be empty.
    • hasRecoveryEmailAddress

      public boolean hasRecoveryEmailAddress
      True, if a recovery email address has been set up.
    • recoveryEmailAddressPattern

      public String recoveryEmailAddressPattern
      Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AuthorizationStateWaitPassword

      public AuthorizationStateWaitPassword()
      The user has been authorized, but needs to enter a 2-step verification password to start using the application.
    • AuthorizationStateWaitPassword

      public AuthorizationStateWaitPassword(String passwordHint, boolean hasRecoveryEmailAddress, String recoveryEmailAddressPattern)
      The user has been authorized, but needs to enter a 2-step verification password to start using the application.
      Parameters:
      passwordHint - String Hint for the password; may be empty.
      hasRecoveryEmailAddress - boolean True, if a recovery email address has been set up.
      recoveryEmailAddressPattern - String Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.
    • AuthorizationStateWaitPassword

      public AuthorizationStateWaitPassword(DataInput input) throws IOException
      The user has been authorized, but needs to enter a 2-step verification password to start using the application.
      Throws:
      IOException
  • Method Details