Class TdApi.GetRecoveryEmailAddress

Enclosing class:
TdApi

public static class TdApi.GetRecoveryEmailAddress extends TdApi.Function<TdApi.RecoveryEmailAddress>
Returns a 2-step verification recovery email address that was previously set up. This method can be used to verify a password provided by the user.

Returns RecoveryEmailAddress

  • Field Details

    • password

      public String password
      The 2-step verification password for the current user.
    • CONSTRUCTOR

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

    • GetRecoveryEmailAddress

      public GetRecoveryEmailAddress()
      Default constructor for a function, which returns a 2-step verification recovery email address that was previously set up. This method can be used to verify a password provided by the user.

      Returns RecoveryEmailAddress

    • GetRecoveryEmailAddress

      public GetRecoveryEmailAddress(String password)
      Creates a function, which returns a 2-step verification recovery email address that was previously set up. This method can be used to verify a password provided by the user.

      Returns RecoveryEmailAddress

      Parameters:
      password - The 2-step verification password for the current user.
  • Method Details