CountryCode

class pyrogram.raw.types.help.CountryCode

Country code and phone number pattern of a specific country.

Constructor type of CountryCode.

Details
  • Layer: 126

  • ID: 0x4203c5ef

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.