Class TdApi.GetPhoneNumberInfo

Enclosing class:
TdApi

public static 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
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetPhoneNumberInfo

      public GetPhoneNumberInfo()
      Default constructor for a function, which returns information about a phone number by its prefix. Can be called before authorization.

      Returns PhoneNumberInfo

    • GetPhoneNumberInfo

      public GetPhoneNumberInfo(String phoneNumberPrefix)
      Creates a function, which returns information about a phone number by its prefix. Can be called before authorization.

      Returns PhoneNumberInfo

      Parameters:
      phoneNumberPrefix - The phone number prefix.
  • 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