Skip to content

CountryInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about a country

CountryInfo(
  country_code: string,
  name: string,
  english_name: string,
  flag_emoji: string,
  is_hidden: Bool,
  calling_codes: list of string
) → CountryInfo

country_code

string

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

name

string

Native name of the country

english_name

string

English name of the country

flag_emoji

string

An emoji for the flag of the country; may be empty if unknown

is_hidden

Bool

True, if the country must be hidden from the list of all countries

calling_codes

list of string

List of country calling codes