Skip to content

getCountryFlagEmoji

Function · TDLib 1.8.67 · d1085f9c

Returns an emoji for the flag of the given country. Returns an empty string on failure. Can be called synchronously

getCountryFlagEmoji(
  country_code: string
) → Text

country_code

string

A two-letter ISO 3166-1 alpha-2 country code as received from getCountries