File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,15 @@ type Callback struct {
2626 // a bad client can send arbitrary data in this field.
2727 Data string `json:"data"`
2828
29+ // ChatInstance is a global identifier, uniquely corresponding to
30+ // the chat to which the message with the callback button was sent.
31+ ChatInstance string `json:"chat_instance"`
32+
33+ // GameShortName is a unique identifier of the game for which a URL
34+ // is requested from the bot when a user presses the Play button of
35+ // that game. GameShortName may be empty
36+ GameShortName string `json:"game_short_name"`
37+
2938 // Unique displays an unique of the button from which the
3039 // callback was fired. Sets immediately before the handling,
3140 // while the Data field stores only with payload.
You can’t perform that action at this time.
0 commit comments