From 38a979ee97ba4345e8cd71f0359368f8fa43bf5c Mon Sep 17 00:00:00 2001 From: Dovydas Date: Wed, 20 Dec 2023 09:29:25 +0000 Subject: [PATCH] add podcast:chat --- namespace_podcast.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/namespace_podcast.go b/namespace_podcast.go index d165c9d..fc20d1b 100644 --- a/namespace_podcast.go +++ b/namespace_podcast.go @@ -349,6 +349,7 @@ type PodcastLiveItem struct { ITunesImage *ITunesImage ITunesSeasonNumber *int64 `xml:"itunes:season"` PodcastAlternateEnclosures []PodcastAlternateEnclosure + PodcastChat *PodcastChat PodcastContentLinks []PodcastContentLink PodcastEpisode *PodcastEpisode PodcastISRC *PodcastISRC @@ -368,3 +369,13 @@ type PodcastLiveValue struct { URI string `xml:"uri,attr"` Protocol string `xml:"protocol,attr"` } + +// PodcastChat is an experimental tag to enable chat during a livestream. +type PodcastChat struct { + XMLName xml.Name `xml:"podcast:chat"` + Server string `xml:"server,attr"` + Protocol string `xml:"protocol,attr"` + AccountID *string `xml:"accountId,attr"` + Space *string `xml:"space,attr"` + EmbedURL *string `xml:"embedUrl,attr"` +}