Layer 220
constructor
updateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
QueryId long Query ID
UserId long ID of the user that pressed the button
MsgId InputBotInlineMessageID ID of the inline message with the button
ChatInstance long Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
Data flags.0?bytes Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.
GameShortName flags.1?string Short name of a Game to be returned, serves as the unique identifier for the game

Returns

Update

Gogram Example

// Creating UpdateInlineBotCallbackQuery constructor
obj := &tg.UpdateInlineBotCallbackQuery{
    QueryId: int64(0),
    UserId: int64(0),
    MsgId: &tg.InputBotInlineMessageId{},
    ChatInstance: int64(0),

    // Optional fields:
    // Data: []byte{},
    // GameShortName: "...",
}