help.CountriesList
- class pyrogram.raw.base.help.CountriesList
Name, ISO code, localized name and phone codes/patterns of all available countries
- Constructors:
This base type has 2 constructors available.
Name, ISO code, localized name and phone codes/patterns of all available countries
The country list has not changed
- Functions:
This object can be returned by 1 function.
Get name, ISO code, localized name and phone codes/patterns of all available countries
TL Schema
help.countriesList#87d0759e
countries:Vector<help.Country>
hash:int
= help.CountriesList
Parameter Tree
CountriesList
├── countries →
Vector < help.Country >│ └──
help.Country│ ├── hidden →
true (optional)│ ├── iso2 →
string│ ├── default_name →
string│ ├── name →
string (optional)│ └── country_codes →
Vector < help.CountryCode >│ └──
help.CountryCode│ ├── country_code →
string│ ├── prefixes →
Vector < string > (optional)│ └── patterns →
Vector < string > (optional)└── hash →
intExample
CountriesList(
countries=[
Country(
hidden=None,
iso2="text",
default_name="text",
name=None,
country_codes=[
CountryCode(
country_code="text",
prefixes=None,
patterns=None
)
]
)
],
hash=0,
)