View Source ExTDLib.Method.GetPreferredCountryLanguage (ExTDLib v0.0.4)
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. Returns a 404 error if unknown. Returns object_ptr<Text>.
| Name | Type | Description |
|---|---|---|
| country_code | string | A two-letter ISO 3166-1 alpha-2 country code. |
More details on telegram's documentation.