From ab9dc80b06d96ade1cbd4dc528279c4ee2a5a3fc Mon Sep 17 00:00:00 2001 From: Hamcha Date: Thu, 18 Mar 2021 13:06:50 +0100 Subject: [PATCH] Fix fwduser signature --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index a7afe6c..0e11308 100644 --- a/api.go +++ b/api.go @@ -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"`