Fix the From field in the Inline Query.

This commit is contained in:
Syfaro 2016-02-26 08:58:14 -06:00
parent f33a4eede1
commit af934e3e10

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"`
}