GetPreferredCountryLanguage constructor

GetPreferredCountryLanguage(
  1. {required String country_code,
  2. int? extra,
  3. int? clientId}
)

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 Text

Implementation

GetPreferredCountryLanguage