MadelineProtoDocs/old_docs/API_docs_v100/constructors/help_appUpdate.md
2019-12-27 17:48:04 +01:00

1.3 KiB

title description image
help.appUpdate An update is available for the application. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: help.appUpdate

Back to constructors index

An update is available for the application.

Attributes:

Name Type Required Description
popup Bool Optional Popup?
id int Yes Update ID
version string Yes New version name
text string Yes Text description of the update
entities Array of MessageEntity Yes Entities
document Document Optional Attached document
url string Optional Application download URL

Type: help_AppUpdate

Example:

$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string'];

Or, if you're into Lua:

help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'}