summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2021-06-16 21:00:49 +0200
committerGitHub <noreply@github.com>2021-06-16 21:00:49 +0200
commitfb5a84212c491332504fcdd4b5f4a4b97705d2e3 (patch)
treebe03e973d30d040a49a90c47f1e6b73ed8922539 /vendor/github.com/SevereCloud/vksdk/v2/object/video.go
parentdedc1c45a113d8db373d9e4638f54a0f9d29624f (diff)
downloadmatterbridge-msglm-fb5a84212c491332504fcdd4b5f4a4b97705d2e3.tar.gz
matterbridge-msglm-fb5a84212c491332504fcdd4b5f4a4b97705d2e3.tar.bz2
matterbridge-msglm-fb5a84212c491332504fcdd4b5f4a4b97705d2e3.zip
Update dependencies (#1521)
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object/video.go')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/video.go19
1 files changed, 11 insertions, 8 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
index 993b0c90..0816af24 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
@@ -81,14 +81,15 @@ func (video VideoVideo) ToAttachment() string {
// VideoRestriction struct.
type VideoRestriction struct {
- Title string `json:"title"`
- Text string `json:"text"`
- AlwaysShown BaseBoolInt `json:"always_shown"`
- Blur BaseBoolInt `json:"blur"`
- CanPlay BaseBoolInt `json:"can_play"`
- CanPreview BaseBoolInt `json:"can_preview"`
- CardIcon []BaseImage `json:"card_icon"`
- ListIcon []BaseImage `json:"list_icon"`
+ Title string `json:"title"`
+ Text string `json:"text"`
+ AlwaysShown BaseBoolInt `json:"always_shown"`
+ Blur BaseBoolInt `json:"blur"`
+ CanPlay BaseBoolInt `json:"can_play"`
+ CanPreview BaseBoolInt `json:"can_preview"`
+ CardIcon []BaseImage `json:"card_icon"`
+ ListIcon []BaseImage `json:"list_icon"`
+ DisclaimerType int `json:"disclaimer_type"`
}
// VideoActionButton struct.
@@ -113,6 +114,8 @@ type VideoSnippet struct {
type VideoVideoFiles struct {
External string `json:"external"` // URL of the external player
Mp4_1080 string `json:"mp4_1080"` // URL of the mpeg4 file with 1080p quality
+ Mp4_1440 string `json:"mp4_1440"` // URL of the mpeg4 file with 2k quality
+ Mp4_2160 string `json:"mp4_2160"` // URL of the mpeg4 file with 4k quality
Mp4_240 string `json:"mp4_240"` // URL of the mpeg4 file with 240p quality
Mp4_360 string `json:"mp4_360"` // URL of the mpeg4 file with 360p quality
Mp4_480 string `json:"mp4_480"` // URL of the mpeg4 file with 480p quality