summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
diff options
context:
space:
mode:
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