MadelineProtoDocs/old_docs/API_docs_v68/constructors/langPackStringPluralized.md

51 lines
1.6 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: langPackStringPluralized
2018-12-26 02:56:50 +01:00
description: Lang pack string pluralized
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: langPackStringPluralized
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
2018-12-26 02:56:50 +01:00
Lang pack string pluralized
2018-04-01 13:19:25 +02:00
### Attributes:
2018-12-26 02:56:50 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|key|[string](../types/string.md) | Yes|Key|
|zero\_value|[string](../types/string.md) | Optional|Zero value|
|one\_value|[string](../types/string.md) | Optional|One value|
|two\_value|[string](../types/string.md) | Optional|Two value|
|few\_value|[string](../types/string.md) | Optional|Few value|
|many\_value|[string](../types/string.md) | Optional|Many value|
|other\_value|[string](../types/string.md) | Yes|Other value|
2018-04-01 13:19:25 +02:00
### Type: [LangPackString](../types/LangPackString.md)
### Example:
```php
2018-04-01 13:19:25 +02:00
$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) 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:
2018-04-01 13:19:25 +02:00
```lua
2018-04-01 13:19:25 +02:00
langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'}
```