Layer 228
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 | flags .0? Vector<string> | Possible phone prefixes |
| Patterns | flags .1? Vector<string> | Phone patterns: for example, XXX XXX XXX |
Returns
help.CountryCodeGogram Example
// Creating HelpCountryCodeObj constructor obj := &tg.HelpCountryCodeObj{ CountryCode: "12345", Prefixes: "example", Patterns: "example", }