Layer 224
HelpCountryObj
Name, ISO code, localized name and phone codes/patterns of a specific country
constructor
help.country#c3878e23 flags:# hidden:flags.0?true iso2:string default_name:string name:flags.1?string country_codes:Vector<help.CountryCode> = help.Country;
Parameters
| Name | Type | Description |
|---|---|---|
| Hidden | flags.0?true | Whether this country should not be shown in the list |
| Iso2 | string | ISO code of country |
| DefaultName | string | Name of the country in the country's language |
| Name | flags.1?string | Name of the country in the user's language, if different from the original name |
| CountryCodes | Vector<help.CountryCode> | Phone codes/patterns |
Returns
help.CountryGogram Example
// Creating HelpCountryObj constructor obj := &tg.HelpCountryObj{ Iso2: "Hello, World!", DefaultName: "Hello, World!", CountryCodes: []tg.HelpCountryCode{&tg.HelpCountryCode{}}, // Optional fields: // Hidden: true, // Name: "Hello, World!", }