Class TdApi.GetPhoneNumberInfo

Enclosing class:
TdApi

public static class TdApi.GetPhoneNumberInfo
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details