help.CountryCode
- class pyrogram.raw.types.help.CountryCode
Country code and phone number pattern of a specific country
Constructor of
CountryCode.- Details:
Layer:
223ID:
4203C5EF
- Parameters:
country_code (
str) – ISO country codeprefixes (List of
str, optional) – Possible phone prefixespatterns (List of
str, optional) – Phone patterns: for example, XXX XXX XXX
TL Schema
help.countryCode#4203c5ef
flags:#
country_code:string
prefixes:flags.0?Vector<string>
patterns:flags.1?Vector<string>
= help.CountryCode
Parameter Tree
CountryCode
├── country_code →
string├── prefixes →
Vector < string > (optional)└── patterns →
Vector < string > (optional)Example
CountryCode(
country_code="text",
)