Layer 220
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

Gogram Example

// Creating HelpCountryCode constructor
obj := &tg.HelpCountryCode{
    CountryCode: "...",

    // Optional fields:
    // Prefixes: "...",
    // Patterns: "...",
}