File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -1557,11 +1557,22 @@ type InlineQueryResultGame struct {
15571557
15581558// ChosenInlineResult is an inline query result chosen by a User
15591559type ChosenInlineResult struct {
1560- ResultID string `json:"result_id"`
1561- From * User `json:"from"`
1562- Location * Location `json:"location"`
1563- InlineMessageID string `json:"inline_message_id"`
1564- Query string `json:"query"`
1560+ // ResultID the unique identifier for the result that was chosen
1561+ ResultID string `json:"result_id"`
1562+ // From the user that chose the result
1563+ From * User `json:"from"`
1564+ // Location sender location, only for bots that require user location
1565+ //
1566+ // optional
1567+ Location * Location `json:"location"`
1568+ // InlineMessageID identifier of the sent inline message.
1569+ // Available only if there is an inline keyboard attached to the message.
1570+ // Will be also received in callback queries and can be used to edit the message.
1571+ //
1572+ // optional
1573+ InlineMessageID string `json:"inline_message_id"`
1574+ // Query the query that was used to obtain the result
1575+ Query string `json:"query"`
15651576}
15661577
15671578// InputTextMessageContent contains text for displaying
You can’t perform that action at this time.
0 commit comments