Add support for caption_entities in Message type. caption_entities are using for messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption.
Andrey Kuzmin prepodam@mail.ru
Tue, 09 Apr 2019 14:32:23 +0300
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
types.go
→
types.go
@@ -142,6 +142,7 @@ ReplyToMessage *Message `json:"reply_to_message"` // optional
EditDate int `json:"edit_date"` // optional Text string `json:"text"` // optional Entities *[]MessageEntity `json:"entities"` // optional + CaptionEntities *[]MessageEntity `json:"caption_entities"` // optional Audio *Audio `json:"audio"` // optional Document *Document `json:"document"` // optional Animation *ChatAnimation `json:"animation"` // optional