help.CountryCode#

class pyrogram.raw.types.help.CountryCode#

Country code and phone number pattern of a specific country.

Constructor of CountryCode.

Details:
  • Layer: 158

  • ID: 4203C5EF

Parameters:
  • country_code (str) – ISO country code.

  • prefixes (List of str, optional) – Possible phone prefixes.

  • patterns (List of str, optional) – Phone patterns: for example, XXX XXX XXX.