help.GetCountriesList

class pyrogram.raw.functions.help.GetCountriesList

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

Details:
  • Layer: 223

  • ID: 735787A8

Parameters:
  • lang_code (str) – Language code of the current user

  • hash (int 32-bit) – Hash used for caching, for more info click here.

Returns:

help.CountriesList

TL Schema

help.getCountriesList#735787a8
lang_code:string
hash:int

= help.CountriesList

Parameter Tree

GetCountriesList
├── lang_codestring
└── hashint

Example

await app.invoke(
    GetCountriesList(
        lang_code="text",
        hash=0,
    )
)