MadelineProtoDocs/docs/API_docs/constructors/help.country.md

1.1 KiB

title description image redirect_from
help.country help.country attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/help_country.html

Constructor: help.country

Back to constructors index

Attributes:

Name Type Required
hidden Bool Optional
iso2 string Yes
default_name string Yes
name string Optional
country_codes Array of help.CountryCode Yes

Type: help.Country

Example:

$help.country = ['_' => 'help.country', 'hidden' => Bool, 'iso2' => 'string', 'default_name' => 'string', 'name' => 'string', 'country_codes' => [help.CountryCode, help.CountryCode]];

Or, if you're into Lua:

help.country={_='help.country', hidden=Bool, iso2='string', default_name='string', name='string', country_codes={help.CountryCode}}