help.CountriesList
- class pyrogram.raw.types.help.CountriesList
Name, ISO code, localized name and phone codes/patterns of all available countries
Constructor of
CountriesList.- Details:
Layer:
223ID:
87D0759E
- Parameters:
countries (List of
help.Country) – Name, ISO code, localized name and phone codes/patterns of all available countrieshash (
int32-bit) – Hash used for caching, for more info click here
- 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(
iso2="text",
default_name="text",
country_codes=[
CountryCode(country_code="text")
]
)
],
hash=0,
)