Layer 220
HelpCountryCode
Country code and phone number pattern of a specific country
constructor
help.countryCode#4203c5ef flags:# country_code:string prefixes:flags.0?Vector<string> patterns:flags.1?Vector<string> = help.CountryCode;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| CountryCode | string | ISO country code |
| Prefixes | Vector<string> | Possible phone prefixes |
| Patterns | Vector<string> | Phone patterns: for example, XXX XXX XXX |
Returns
help.CountryCodeGogram Example
// Creating HelpCountryCode constructor obj := &tg.HelpCountryCode{ CountryCode: "...", // Optional fields: // Prefixes: "...", // Patterns: "...", }