From dadb760cdebdb5fed4e4665d94c7eb25d4f279e5 Mon Sep 17 00:00:00 2001 From: vdimir Date: Thu, 20 Aug 2020 20:59:20 +0300 Subject: [PATCH] Add missing message fields media_group_id author_signature via_bot --- types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types.go b/types.go index 0362c51..5e95678 100644 --- a/types.go +++ b/types.go @@ -143,7 +143,10 @@ type Message struct { ForwardFromMessageID int `json:"forward_from_message_id"` // optional ForwardDate int `json:"forward_date"` // optional ReplyToMessage *Message `json:"reply_to_message"` // optional + ViaBot *User `json:"via_bot"` // optional EditDate int `json:"edit_date"` // optional + MediaGroupID string `json:"media_group_id"` // optional + AuthorSignature string `json:"author_signature"` // optional Text string `json:"text"` // optional Entities *[]MessageEntity `json:"entities"` // optional CaptionEntities *[]MessageEntity `json:"caption_entities"` // optional