Fix missing ParseMode in InlineQueryResultVideo
ParseMode for this type actually exists, but was missed in the original repo. https://core.telegram.org/bots/api#inlinequeryresultvideomaster^2
parent
f8ef3a5696
commit
d0fa8e929e
8
types.go
8
types.go
|
@ -4406,6 +4406,12 @@ type InlineQueryResultVideo struct {
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
Caption string `json:"caption,omitempty"`
|
Caption string `json:"caption,omitempty"`
|
||||||
|
// 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
|
// Width video width
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
|
@ -4448,7 +4454,7 @@ type InlineQueryResultVoice struct {
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
Caption string `json:"caption,omitempty"`
|
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
|
// See formatting options for more details
|
||||||
// (https://core.telegram.org/bots/api#formatting-options).
|
// (https://core.telegram.org/bots/api#formatting-options).
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue