From af934e3e10c054a3c58e0737434165797d62184c Mon Sep 17 00:00:00 2001 From: Syfaro Date: Fri, 26 Feb 2016 08:58:14 -0600 Subject: [PATCH] Fix the From field in the Inline Query. --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 8a738f4..708aa99 100644 --- a/types.go +++ b/types.go @@ -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"` }