- Enclosing class:
- TdApi
Uses the current IP address to find
the current country. Returns two-letter
ISO 3166-1 alpha-2 country code. Can
be called before authorization.
Returns Text
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUses the current IP address to find the current country.GetCountryCode
(DataInput input) Uses the current IP address to find the current country. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetCountryCode
public GetCountryCode()Uses the current IP address to find the current country. Returns two-letter ISO 3166-1 alpha-2 country code. Can be called before authorization.Returns
Text
-
GetCountryCode
Uses the current IP address to find the current country. Returns two-letter ISO 3166-1 alpha-2 country code. Can be called before authorization.Returns
Text
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-