Module tdlight.api

Class TdApi.InputPassportElementPhoneNumber

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputPassportElement
it.tdlight.jni.TdApi.InputPassportElementPhoneNumber
Enclosing class:
TdApi

public static final class TdApi.InputPassportElementPhoneNumber extends TdApi.InputPassportElement
A Telegram Passport element to be saved containing the user's phone number.
  • Field Details

    • phoneNumber

      public String phoneNumber
      The phone number to be saved.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • InputPassportElementPhoneNumber

      public InputPassportElementPhoneNumber()
      A Telegram Passport element to be saved containing the user's phone number.
    • InputPassportElementPhoneNumber

      public InputPassportElementPhoneNumber(String phoneNumber)
      A Telegram Passport element to be saved containing the user's phone number.
      Parameters:
      phoneNumber - String The phone number to be saved.
    • InputPassportElementPhoneNumber

      public InputPassportElementPhoneNumber(DataInput input) throws IOException
      A Telegram Passport element to be saved containing the user's phone number.
      Throws:
      IOException
  • Method Details