Fix the From field in the Inline Query.
This commit is contained in:
parent
f33a4eede1
commit
af934e3e10
1 changed files with 1 additions and 1 deletions
2
types.go
2
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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue