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.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
index 6c48224b..d86143a9 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
@@ -297,3 +297,27 @@ type VideoVideoImage struct {
BaseImage
WithPadding BaseBoolInt `json:"with_padding"`
}
+
+// VideoLive struct.
+type VideoLive struct {
+ OwnerID int `json:"owner_id"`
+ VideoID int `json:"video_id"`
+ Name string `json:"name"`
+ Description string `json:"description"`
+ AccessKey string `json:"access_key"`
+ Stream VideoLiveStream `json:"stream"`
+}
+
+// VideoLiveStream struct.
+type VideoLiveStream struct {
+ URL string `json:"url"`
+ Key string `json:"key"`
+ OKMPURL string `json:"okmp_url"`
+}
+
+// VideoLiveCategory struct.
+type VideoLiveCategory struct {
+ ID int `json:"id"`
+ Label string `json:"label"`
+ Sublist []VideoLiveCategory `json:"sublist,omitempty"`
+}