From b4fdd0d8421fab0bda64a413b9a79f355c0b4083 Mon Sep 17 00:00:00 2001 From: pyed Date: Sun, 28 Feb 2016 15:12:23 +0300 Subject: [PATCH] set the right tag for InlineQuery.From --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 18ba5db..7c4e0be 100644 --- a/types.go +++ b/types.go @@ -278,7 +278,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"` }