Fix missing ParseMode in InlineQueryResultVideo ParseMode for this type actually exists, but was missed in the original repo. https://core.telegram.org/bots/api#inlinequeryresultvideo
bobra bobradbnn@yandex.ru
Wed, 15 May 2024 02:57:25 +0200
1 files changed,
8 insertions(+),
2 deletions(-)
jump to
M
types.go
→
types.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). //