MadelineProtoDocs/old_docs/API_docs_v34/constructors/help.appUpdate.md
2020-06-16 17:50:25 +02:00

1.4 KiB

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

Constructor: help.appUpdate

Back to constructors index

An update is available for the application.

Attributes:

Name Type Required Description
popup Bool Optional
id int Yes Update ID
version string Yes New version name
text string Yes Text description of the update
entities Array of MessageEntity Yes Message entities for styled text
document Document Optional Application binary
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'}