Skip to content

Commit 445a4ef

Browse files
author
Syfaro
committed
Fix the From field in the Inline Query.
1 parent 9db8f49 commit 445a4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ type ForceReply struct {
276276
// InlineQuery is a Query from Telegram for an inline request.
277277
type InlineQuery struct {
278278
ID string `json:"id"`
279-
From User `json:"user"`
279+
From User `json:"from"`
280280
Query string `json:"query"`
281281
Offset string `json:"offset"`
282282
}

0 commit comments

Comments
 (0)