Layer 220
constructor
help.appUpdate#ccbbce30 flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector<MessageEntity> document:flags.1?Document url:flags.2?string sticker:flags.3?Document = help.AppUpdate;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
CanNotSkip flags.0?true Unskippable, the new info must be shown to the user (with a popup or something else)
Id int Update ID
Version string New version name
Text string Text description of the update
Entities Vector<MessageEntity> Message entities for styled text
Document flags.1?Document Application binary
Url flags.2?string Application download URL
Sticker flags.3?Document Associated sticker

Returns

help.AppUpdate

Gogram Example

// Creating HelpAppUpdate constructor
obj := &tg.HelpAppUpdate{
    Id: 0,
    Version: "...",
    Text: "...",
    Entities: []tg.MessageEntity{&tg.MessageEntityBold{Offset: 0, Length: 4}},

    // Optional fields:
    // CanNotSkip: true,
    // Document: &tg.Document{},
    // Url: "...",
    // Sticker: &tg.Document{},
}