Fix the From field in the Inline Query.

bot-api-6.1
Syfaro 2016-02-26 08:58:14 -06:00
parent f33a4eede1
commit af934e3e10
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ type ForceReply struct {
// InlineQuery is a Query from Telegram for an inline request.
type InlineQuery struct {
ID string `json:"id"`
From User `json:"user"`
From User `json:"from"`
Query string `json:"query"`
Offset string `json:"offset"`
}