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
1 changed files with 1 additions and 1 deletions

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"`