MadelineProtoDocs/old_docs/API_docs_v71/constructors/langPackStringPluralized.md
2018-04-01 13:24:46 +02:00

1.4 KiB

title description
langPackStringPluralized langPackStringPluralized attributes, type and example

Constructor: langPackStringPluralized

Back to constructors index

Attributes:

Name Type Required
key string Yes
zero_value string Optional
one_value string Optional
two_value string Optional
few_value string Optional
many_value string Optional
other_value string Yes

Type: LangPackString

Example:

$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string'];

PWRTelegram json-encoded version:

{"_": "langPackStringPluralized", "key": "string", "zero_value": "string", "one_value": "string", "two_value": "string", "few_value": "string", "many_value": "string", "other_value": "string"}

Or, if you're into Lua:

langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'}