public static class TdApi.GetPreferredCountryLanguage extends TdApi.Function<TdApi.Text>
Returns Text
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
countryCode
A two-letter ISO 3166-1 alpha-2 country code.
|
| Constructor and Description |
|---|
GetPreferredCountryLanguage()
Default constructor for a function, which returns an IETF language tag of the language preferred in the country, which must be used to fill native fields in Telegram Passport personal details.
|
GetPreferredCountryLanguage(java.lang.String countryCode)
Creates a function, which returns an IETF language tag of the language preferred in the country, which must be used to fill native fields in Telegram Passport personal details.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String countryCode
public static final int CONSTRUCTOR
public GetPreferredCountryLanguage()
Returns Text
public GetPreferredCountryLanguage(java.lang.String countryCode)
Returns Text
countryCode - A two-letter ISO 3166-1 alpha-2 country code.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object