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.

help.CountriesList

Name, ISO code, localized name and phone codes/patterns of all available countries

help.CountriesListNotModified

The country list has not changed

Functions:

This object can be returned by 1 function.

help.GetCountriesList

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
├── countriesVector < help.Country >
│ └── help.Country
│ ├── hiddentrue (optional)
│ ├── iso2string
│ ├── default_namestring
│ ├── namestring (optional)
│ └── country_codesVector < help.CountryCode >
│ └── help.CountryCode
│ ├── country_codestring
│ ├── prefixesVector < string > (optional)
│ └── patternsVector < string > (optional)
└── hashint

Example

CountriesList(
    countries=[
            Country(
                hidden=None,
                iso2="text",
                default_name="text",
                name=None,
                country_codes=[
                        CountryCode(
                            country_code="text",
                            prefixes=None,
                            patterns=None
                        )
                    ]
            )
        ],
    hash=0,
)