Module tdlight.api

Class TdApi.GetPhoneNumberInfo

Enclosing class:
TdApi

public static final class TdApi.GetPhoneNumberInfo extends TdApi.Function<TdApi.PhoneNumberInfo>
Returns information about a phone number by its prefix. Can be called before authorization. Returns PhoneNumberInfo
  • Field Details

    • phoneNumberPrefix

      public String phoneNumberPrefix
      The phone number prefix.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetPhoneNumberInfo

      public GetPhoneNumberInfo()
      Returns information about a phone number by its prefix. Can be called before authorization. Returns PhoneNumberInfo
    • GetPhoneNumberInfo

      public GetPhoneNumberInfo(String phoneNumberPrefix)
      Returns information about a phone number by its prefix. Can be called before authorization. Returns PhoneNumberInfo
      Parameters:
      phoneNumberPrefix - String The phone number prefix.
    • GetPhoneNumberInfo

      public GetPhoneNumberInfo(DataInput input) throws IOException
      Returns information about a phone number by its prefix. Can be called before authorization. Returns PhoneNumberInfo
      Throws:
      IOException
  • Method Details