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 authentication password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

Returns Ok

  • Field Details

    • password

      public String password
      The password to check.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CheckAuthenticationPassword

      public CheckAuthenticationPassword()
      Checks the authentication password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

      Returns Ok

    • CheckAuthenticationPassword

      public CheckAuthenticationPassword(String password)
      Checks the authentication password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

      Returns Ok

      Parameters:
      password - String The password to check.
    • CheckAuthenticationPassword

      public CheckAuthenticationPassword(DataInput input) throws IOException
      Checks the authentication password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.

      Returns Ok

      Throws:
      IOException
  • Method Details