Module tdlight.api

Class TdApi.CheckAuthenticationPassword

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.CheckAuthenticationPassword
Enclosing class:
TdApi

public static final 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
      See Also:
  • Constructor Details

    • CheckAuthenticationPassword

      public CheckAuthenticationPassword()
      Checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword. Returns Ok
    • CheckAuthenticationPassword

      public CheckAuthenticationPassword(String password)
      Checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword. Returns Ok
      Parameters:
      password - String The 2-step verification password to check.
    • CheckAuthenticationPassword

      public CheckAuthenticationPassword(DataInput input) throws IOException
      Checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword. Returns Ok
      Throws:
      IOException
  • Method Details