diff options
Diffstat (limited to 'api/telegram/bot/inline_query.go')
| -rw-r--r-- | api/telegram/bot/inline_query.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/api/telegram/bot/inline_query.go b/api/telegram/bot/inline_query.go index 090432bd..5ba9ad24 100644 --- a/api/telegram/bot/inline_query.go +++ b/api/telegram/bot/inline_query.go @@ -8,14 +8,15 @@ package bot // When the user sends an empty query, your bot could return some default or // trending results. type InlineQuery struct { + From *User `json:"from"` // Sender + + // Optional. Sender location, only for bots that request user + // location. + Location *Location `json:"location"` + ID string `json:"id"` // Unique identifier for this qery - From *User `json:"from"` // Sender Query string `json:"query"` // Text of the query (up to 256 characters). // Offset of the results to be returned, can be controlled by the bot. Offset string `json:"offset"` - - // Optional. Sender location, only for bots that request user - // location. - Location *Location `json:"location"` } |
