Package org.drinkless.tdlib
Class TdApi.GetPhoneNumberInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringphoneNumberPrefixThe phone number prefix.
-
Constructor Summary
Constructors Constructor Description GetPhoneNumberInfo()Default constructor for a function, which returns information about a phone number by its prefix.GetPhoneNumberInfo(String phoneNumberPrefix)Creates a function, which returns information about a phone number by its prefix.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
phoneNumberPrefix
public String phoneNumberPrefix
The phone number prefix.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-