summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go
diff options
context:
space:
mode:
authorIvanik <ivan170102@gmail.com>2021-01-29 04:25:14 +0500
committerGitHub <noreply@github.com>2021-01-29 00:25:14 +0100
commit8764be74616bde87bbbf6c32901cd9f43264d1e0 (patch)
tree88902ba17d6a6d245cadb7e0b277bee7ef424f99 /vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go
parent5dd15ef8e716c65accb6cd021095c0e19913d55f (diff)
downloadmatterbridge-msglm-8764be74616bde87bbbf6c32901cd9f43264d1e0.tar.gz
matterbridge-msglm-8764be74616bde87bbbf6c32901cd9f43264d1e0.tar.bz2
matterbridge-msglm-8764be74616bde87bbbf6c32901cd9f43264d1e0.zip
Add vk bridge (#1372)
* Add vk bridge * Vk bridge attachments * Vk bridge forwarded messages * Vk bridge sample config and code cleanup * Vk bridge add vendor * Vk bridge message edit * Vk bridge: fix fetching names of other bots * Vk bridge: code cleanup * Vk bridge: fix shadows declaration * Vk bridge: remove UseFileURL
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go45
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go b/vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go
new file mode 100644
index 00000000..a332da43
--- /dev/null
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/podcasts.go
@@ -0,0 +1,45 @@
+package object
+
+// PodcastsItem struct.
+type PodcastsItem struct {
+ OwnerID int `json:"owner_id"`
+}
+
+// PodcastsCategory struct.
+type PodcastsCategory struct {
+ ID int `json:"id"`
+ Title string `json:"title"`
+ Cover []BaseImage `json:"cover"`
+}
+
+// PodcastsEpisode struct.
+type PodcastsEpisode struct {
+ ID int `json:"id"`
+ OwnerID int `json:"owner_id"`
+ Artist string `json:"artist"`
+ Title string `json:"title"`
+ Duration int `json:"duration"`
+ Date int `json:"date"`
+ URL string `json:"url"`
+ LyricsID int `json:"lyrics_id"`
+ NoSearch int `json:"no_search"`
+ TrackCode string `json:"track_code"`
+ IsHq BaseBoolInt `json:"is_hq"`
+ IsFocusTrack BaseBoolInt `json:"is_focus_track"`
+ IsExplicit BaseBoolInt `json:"is_explicit"`
+ ShortVideosAllowed BaseBoolInt `json:"short_videos_allowed"`
+ StoriesAllowed BaseBoolInt `json:"stories_allowed"`
+ StoriesCoverAllowed BaseBoolInt `json:"stories_cover_allowed"`
+ PodcastInfo PodcastsPodcastInfo `json:"podcast_info"`
+}
+
+// PodcastsPodcastInfo struct.
+type PodcastsPodcastInfo struct {
+ Cover struct {
+ Sizes []BaseImage `json:"cover"`
+ }
+ Plays int `json:"plays"`
+ IsFavorite BaseBoolInt `json:"is_favorite"`
+ Description string `json:"description"`
+ Position int `json:"position"`
+}