all repos — telegram-bot-api @ 9b9c5c57d2e86b1bd5de78e4853803bfc0f173f2

Golang bindings for the Telegram Bot API

Merge pull request #24 from bobra/patch-1

Fix missing ParseMode in InlineQueryResultVideo
OvyFlash 46941696+OvyFlash@users.noreply.github.com
Wed, 15 May 2024 23:34:45 +0300
commit

9b9c5c57d2e86b1bd5de78e4853803bfc0f173f2

parent

f8ef3a5696e6f18dd08e8ce7aa0d818833fc9edb

1 files changed, 8 insertions(+), 2 deletions(-)

jump to
M types.gotypes.go

@@ -4406,9 +4406,15 @@ // Caption of the video to be sent, 0-1024 characters after entities parsing

// // optional Caption string `json:"caption,omitempty"` - // Width video width + // ParseMode mode for parsing entities in the video caption. + // See formatting options for more details + // (https://core.telegram.org/bots/api#formatting-options). // // optional + ParseMode string `json:"parse_mode,omitempty"` + // Width video width + // + // optional Width int `json:"video_width,omitempty"` // Height video height //

@@ -4448,7 +4454,7 @@ // Caption 0-1024 characters after entities parsing

// // optional Caption string `json:"caption,omitempty"` - // ParseMode mode for parsing entities in the video caption. + // ParseMode mode for parsing entities in the voice caption. // See formatting options for more details // (https://core.telegram.org/bots/api#formatting-options). //