Class TdApi.CheckAuthenticationPassword

Enclosing class:
TdApi

public static class TdApi.CheckAuthenticationPassword extends TdApi.Function<TdApi.Ok>
Checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

Returns Ok

  • Field Details

    • password

      public String password
      The 2-step verification password to check.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • CheckAuthenticationPassword

      public CheckAuthenticationPassword()
      Default constructor for a function, which checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

      Returns Ok

    • CheckAuthenticationPassword

      public CheckAuthenticationPassword(String password)
      Creates a function, which checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

      Returns Ok

      Parameters:
      password - The 2-step verification password to check.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR