Skip to content

getCountry

Function · TDLib 1.8.67 · d1085f9c

Returns information about an existing country. Can be called before authorization

getCountry(
  country_code: string
) → CountryInfo

country_code

string

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