Merge pull request #24 from bobra/patch-1
Fix missing ParseMode in InlineQueryResultVideo
This commit is contained in:
commit
9b9c5c57d2
1 changed files with 8 additions and 2 deletions
10
types.go
10
types.go
|
@ -4406,9 +4406,15 @@ type InlineQueryResultVideo struct {
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
Caption string `json:"caption,omitempty"`
|
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
|
// optional
|
||||||
|
ParseMode string `json:"parse_mode,omitempty"`
|
||||||
|
// Width video width
|
||||||
|
//
|
||||||
|
// optional
|
||||||
Width int `json:"video_width,omitempty"`
|
Width int `json:"video_width,omitempty"`
|
||||||
// Height video height
|
// Height video height
|
||||||
//
|
//
|
||||||
|
@ -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…
Add table
Add a link
Reference in a new issue