set the right tag for InlineQuery.From

pull/38/head
pyed 9 years ago
parent 67abf47ae8
commit b4fdd0d842
  1. 2
      types.go

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