Interface CountryInfo

Contains information about a country.

interface CountryInfo {
    @type: "countryInfo";
    calling_codes: string[];
    country_code: string;
    english_name: string;
    is_hidden?: boolean;
    name: string;
}

Properties

@type: "countryInfo"
calling_codes: string[]

List of country calling codes.

country_code: string

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

english_name: string

English name of the country.

is_hidden?: boolean

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

name: string

Native name of the country.