Constructor: help.appUpdate

Back to constructors index

An update is available for the application.

Attributes:

Name Type Required Description
can_not_skip Bool Optional Unskippable, the new info must be shown to the user (with a popup or something else)
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', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string'];

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.