help.Country

class pyrogram.raw.types.help.Country

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

Constructor of Country.

Details:
  • Layer: 187

  • ID: C3878E23

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