Layer 224
HelpCountryCodeObj
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 |
|---|---|---|
| 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 HelpCountryCodeObj constructor obj := &tg.HelpCountryCodeObj{ CountryCode: "Hello, World!", // Optional fields: // Prefixes: "Hello, World!", // Patterns: "Hello, World!", }