mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
31 lines
725 B
Markdown
31 lines
725 B
Markdown
|
---
|
||
|
title: "langPackString"
|
||
|
description: "Translated localization string"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: langPackString
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Translated localization string
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|key|[string](/API_docs/types/string.html) | Yes|Language key|
|
||
|
|value|[string](/API_docs/types/string.html) | Yes|Value|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [LangPackString](/API_docs/types/LangPackString.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string'];
|
||
|
```
|