Module tdlight.api

Class TdApi.CheckPasswordRecoveryCode

Enclosing class:
TdApi

public static class TdApi.CheckPasswordRecoveryCode extends TdApi.Function<TdApi.Ok>
Checks whether a 2-step verification password recovery code sent to an email address is valid.

Returns Ok

  • Field Details

    • recoveryCode

      public String recoveryCode
      Recovery code to check.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CheckPasswordRecoveryCode

      public CheckPasswordRecoveryCode()
      Checks whether a 2-step verification password recovery code sent to an email address is valid.

      Returns Ok

    • CheckPasswordRecoveryCode

      public CheckPasswordRecoveryCode(String recoveryCode)
      Checks whether a 2-step verification password recovery code sent to an email address is valid.

      Returns Ok

      Parameters:
      recoveryCode - String Recovery code to check.
    • CheckPasswordRecoveryCode

      public CheckPasswordRecoveryCode(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details