Module tdlight.api

Class TdApi.PassportElementPhoneNumber

Enclosing class:
TdApi

public static final class TdApi.PassportElementPhoneNumber extends TdApi.PassportElement
A Telegram Passport element containing the user's phone number.
  • Field Details

    • phoneNumber

      public String phoneNumber
      Phone number.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PassportElementPhoneNumber

      public PassportElementPhoneNumber()
      A Telegram Passport element containing the user's phone number.
    • PassportElementPhoneNumber

      public PassportElementPhoneNumber(String phoneNumber)
      A Telegram Passport element containing the user's phone number.
      Parameters:
      phoneNumber - String Phone number.
    • PassportElementPhoneNumber

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