MadelineProtoDocs/docs/API_docs/constructors/help_appUpdate.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

51 lines
1.4 KiB
Markdown

---
title: help.appUpdate
description: App update
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: help.appUpdate
[Back to constructors index](index.md)
App update
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|popup|[Bool](../types/Bool.md) | Optional|Popup?|
|id|[int](../types/int.md) | Yes|ID|
|version|[string](../types/string.md) | Yes|Version|
|text|[string](../types/string.md) | Yes|Text|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities|
|document|[Document](../types/Document.md) | Optional|Document|
|url|[string](../types/string.md) | Optional|URL|
### Type: [help\_AppUpdate](../types/help_AppUpdate.md)
### Example:
```php
$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "help.appUpdate", "popup": Bool, "id": int, "version": "string", "text": "string", "entities": [MessageEntity], "document": Document, "url": "string"}
```
Or, if you're into Lua:
```lua
help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'}
```