Layer 227
constructor
langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;

Parameters

Name Type Description
Key string Localization key
ZeroValue flags .0? string Value for zero objects
OneValue flags .1? string Value for one object
TwoValue flags .2? string Value for two objects
FewValue flags .3? string Value for a few objects
ManyValue flags .4? string Value for many objects
OtherValue string Default value

Returns

LangPackString

Gogram Example

// Creating LangPackStringPluralized constructor
obj := &tg.LangPackStringPluralized{
    Key: "Hello, World!",
    ZeroValue: "Hello, World!",
    OneValue: "Hello, World!",
    TwoValue: "Hello, World!",
    FewValue: "Hello, World!",
    ManyValue: "Hello, World!",
    // ... more required fields
}