all repos — telegram-bot-api @ ab4ab5e531017f0213be57df9fd0369d8d06b63d

Golang bindings for the Telegram Bot API

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
commit

ab4ab5e531017f0213be57df9fd0369d8d06b63d

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