get_preferred_country_language


Description:

public async Text get_preferred_country_language (string country_code) throws TDLibError

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

Parameters:

country_code

A two-letter ISO 3166-1 alpha-2 country code