Fix the From field in the Inline Query.
parent
f33a4eede1
commit
af934e3e10
2
types.go
2
types.go
|
@ -276,7 +276,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"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue