From d0fa8e929e4d1416b1db97b1d0c004816ca4e5df Mon Sep 17 00:00:00 2001 From: bobra Date: Wed, 15 May 2024 02:57:25 +0200 Subject: [PATCH] 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 --- types.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index 0828a0b..4aa4b81 100644 --- a/types.go +++ b/types.go @@ -4406,9 +4406,15 @@ type InlineQueryResultVideo struct { // // 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 @@ type InlineQueryResultVoice struct { // // 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). //