help.country
Name, ISO code, localized name and phone codes/patterns of a specific country
type tg.HelpCountry struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Hidden | bool | — | Whether this country should not be shown in the list |
ISO2 | string | yes | ISO code of country |
DefaultName | string | yes | Name of the country in the country's language |
Name | string | — | Name of the country in the user's language, if different from the original name |
CountryCodes | []HelpCountryCode | yes | Phone codes/patterns |
References
- Official documentation
- Generated Go reference
- TL definition:
help.country#c3878e23