GetPreferredCountryLanguage constructor

const GetPreferredCountryLanguage({
  1. required String countryCode,
})

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

Implementation

const GetPreferredCountryLanguage({
  required this.countryCode,
});