get_countries_list()

async Client.get_countries_list()

Get the list of supported countries.

Usable by Users Bots
Parameters:
  • lang_code (str, optional) – Language code for country names. Defaults to empty string.

  • hash (int, optional) – Hash for caching. Defaults to 0.

Returns:

CountriesList – The countries list.

Example

countries = await app.get_countries_list()