MadelineProtoDocs/docs/API_docs/constructors/langPackDifference.md
2024-05-01 14:53:46 +02:00

33 lines
1.0 KiB
Markdown

---
title: "langPackDifference"
description: "Changes to the app's localization pack"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: langPackDifference
[Back to constructors index](/API_docs/constructors/index.html)
Changes to the app's localization pack
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|lang\_code|[string](/API_docs/types/string.html) | Yes|Language code|
|from\_version|[int](/API_docs/types/int.html) | Yes|Previous version number|
|version|[int](/API_docs/types/int.html) | Yes|New version number|
|strings|Array of [LangPackString](/API_docs/types/LangPackString.html) | Yes|Localized strings|
### Type: [LangPackDifference](/API_docs/types/LangPackDifference.html)
### Example:
```
$langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]];
```