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
parent
ec221ba9ea
commit
ab4ab5e531
1
types.go
1
types.go
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue