public static class TdApi.CountryInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
callingCodes
List of country calling codes.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
countryCode
A two-letter ISO 3166-1 alpha-2 country code.
|
java.lang.String |
englishName
English name of the country.
|
boolean |
isHidden
True, if the country must be hidden from the list of all countries.
|
java.lang.String |
name
Native name of the country.
|
Constructor and Description |
---|
CountryInfo()
Contains information about a country.
|
CountryInfo(java.lang.String countryCode,
java.lang.String name,
java.lang.String englishName,
boolean isHidden,
java.lang.String[] callingCodes)
Contains information about a country.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String countryCode
public java.lang.String name
public java.lang.String englishName
public boolean isHidden
public java.lang.String[] callingCodes
public static final int CONSTRUCTOR
public CountryInfo()
public CountryInfo(java.lang.String countryCode, java.lang.String name, java.lang.String englishName, boolean isHidden, java.lang.String[] callingCodes)
countryCode
- A two-letter ISO 3166-1 alpha-2 country code.name
- Native name of the country.englishName
- English name of the country.isHidden
- True, if the country must be hidden from the list of all countries.callingCodes
- List of country calling codes.public int getConstructor()
getConstructor
in class TdApi.Object