Class TdApi.SendEmailAddressVerificationCode

Enclosing class:
TdApi

public static class TdApi.SendEmailAddressVerificationCode extends TdApi.Function<TdApi.EmailAddressAuthenticationCodeInfo>
Sends a code to verify an email address to be added to a user's Telegram Passport.

Returns EmailAddressAuthenticationCodeInfo

  • Field Details

    • emailAddress

      public String emailAddress
      Email address.
    • CONSTRUCTOR

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

    • SendEmailAddressVerificationCode

      public SendEmailAddressVerificationCode()
      Default constructor for a function, which sends a code to verify an email address to be added to a user's Telegram Passport.

      Returns EmailAddressAuthenticationCodeInfo

    • SendEmailAddressVerificationCode

      public SendEmailAddressVerificationCode(String emailAddress)
      Creates a function, which sends a code to verify an email address to be added to a user's Telegram Passport.

      Returns EmailAddressAuthenticationCodeInfo

      Parameters:
      emailAddress - Email address.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR