Interface GetCountryFlagEmoji

Returns an emoji for the given country. Returns an empty string on failure. Can be called synchronously. Request type for Tdjson#getCountryFlagEmoji.

interface GetCountryFlagEmoji {
    @type: "getCountryFlagEmoji";
    country_code: string;
}

Properties

Properties

@type: "getCountryFlagEmoji"
country_code: string

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