all repos — telegram-bot-api @ ace7a9cee997f946ee7c26be23299171bfd08f1c

Golang bindings for the Telegram Bot API

Merge pull request #229 from kak-tus/caption_entities

Add support for caption_entities in Message type.
Syfaro syfaro@huefox.com
Wed, 24 Apr 2019 02:28:14 -0500
commit

ace7a9cee997f946ee7c26be23299171bfd08f1c

parent

ec221ba9ea458cd5386c35dd90af04b8a895f8eb

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

jump to
M types.gotypes.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