Fix fwduser signature

This commit is contained in:
Hamcha 2021-03-18 13:06:50 +01:00
parent bcfc5c2d64
commit ab9dc80b06
Signed by: hamcha
GPG key ID: 41467804B19A3315

2
api.go
View file

@ -41,7 +41,7 @@ type APIMessage struct {
User APIUser `json:"from"`
Time int64 `json:"date"`
Chat *APIChat `json:"chat"`
FwdUser *APIUpdate `json:"forward_from,omitempty"`
FwdUser *APIUser `json:"forward_from,omitempty"`
FwdTime *int `json:"forward_date,omitempty"`
ReplyTo *APIMessage `json:"reply_to_message,omitempty"`
Text *string `json:"text,omitempty"`