Generalize InputMedia, fix editMessageMedia.
This commit is contained in:
parent
8d14bd7a56
commit
a45216f441
3 changed files with 182 additions and 66 deletions
1
types.go
1
types.go
|
@ -1126,6 +1126,7 @@ type InputMediaPhoto struct {
|
|||
// InputMediaVideo is a video to send as part of a media group.
|
||||
type InputMediaVideo struct {
|
||||
BaseInputMedia
|
||||
Thumb interface{}
|
||||
Width int `json:"width,omitempty"`
|
||||
Height int `json:"height,omitempty"`
|
||||
Duration int `json:"duration,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue