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 {
26
26
// a bad client can send arbitrary data in this field.
27
27
Data string `json:"data"`
28
28
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
+
29
38
// Unique displays an unique of the button from which the
30
39
// callback was fired. Sets immediately before the handling,
31
40
// while the Data field stores only with payload.
You can’t perform that action at this time.
0 commit comments