all repos — telegram-bot-api @ b2639432203d8b46127b037f03475c18846becf3

Golang bindings for the Telegram Bot API

Merge pull request #365 from vdimir/add-missing-message-fields

Add missing message fields
Syfaro syfaro@huefox.com
Thu, 20 Aug 2020 14:13:25 -0400
commit

b2639432203d8b46127b037f03475c18846becf3

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