Class TdApi.GetRecoveryEmailAddress

  • Enclosing class:
    TdApi

    public static class TdApi.GetRecoveryEmailAddress
    extends TdApi.Function
    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 Detail

      • password

        public String password
        The password for the current user.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 password for the current user.