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.
bot-api-6.1
Andrey Kuzmin 2019-04-09 14:32:23 +03:00
parent ec221ba9ea
commit ab4ab5e531
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ type Message struct {
EditDate int `json:"edit_date"` // optional EditDate int `json:"edit_date"` // optional
Text string `json:"text"` // optional Text string `json:"text"` // optional
Entities *[]MessageEntity `json:"entities"` // optional Entities *[]MessageEntity `json:"entities"` // optional
CaptionEntities *[]MessageEntity `json:"caption_entities"` // optional
Audio *Audio `json:"audio"` // optional Audio *Audio `json:"audio"` // optional
Document *Document `json:"document"` // optional Document *Document `json:"document"` // optional
Animation *ChatAnimation `json:"animation"` // optional Animation *ChatAnimation `json:"animation"` // optional