all repos — telegram-bot-api @ dadb760cdebdb5fed4e4665d94c7eb25d4f279e5

Golang bindings for the Telegram Bot API

Add missing message fields

media_group_id
author_signature
via_bot
vdimir vdimirc@gmail.com
Thu, 20 Aug 2020 20:59:20 +0300
commit

dadb760cdebdb5fed4e4665d94c7eb25d4f279e5

parent

15c95b8a841865bf5cb00292f227f410c01cf4a2

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M types.gotypes.go

@@ -143,7 +143,10 @@ ForwardFromChat *Chat `json:"forward_from_chat"` // optional

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