help.CountryCode

class hydrogram.raw.types.help.CountryCode[source]

Country code and phone number pattern of a specific country

Constructor of CountryCode.

Details:
  • Layer: 181

  • 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