Merge pull request #24 from bobra/patch-1

Fix missing ParseMode in InlineQueryResultVideo
master^2
OvyFlash 2024-05-15 23:34:45 +03:00 committed by GitHub
commit 9b9c5c57d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -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).
//