Country

class pyrogram.raw.types.help.Country

Name, ISO code, localized name and phone codes/patterns of a specific country.

Constructor type of Country.

Details
  • Layer: 126

  • ID: 0xc3878e23

Parameters
  • iso2 (str) – ISO code of country.

  • default_name (str) – Name of the country in the country’s language.

  • country_codes (List of help.CountryCode) – Phone codes/patterns.

  • hidden (bool, optional) – Whether this country should not be shown in the list.

  • name (str, optional) – Name of the country in the user’s language, if different from the original name.