Karaoke Station
- TypeScript
- C#
type KaraokeStationItemPayload = {
name: string
audience?: AudiencePayload
}
type KaraokeStationPayload = {
triggerKeyword: string
minimumInterval: number
minimumAudienceLevel: number
requiresWearingBadge: boolean
list: KaraokeStationItemPayload[]
}
struct KaraokeStationItemPayload
{
public string Name;
public AudiencePayload? Audience;
}
struct KaraokeStationPayload
{
public string TriggerKeyword;
public int MinimumInterval;
public int MinimumAudienceLevel;
public bool RequiresWearingBadge;
public KaraokeStationItemPayload[] List;
}
This data is sent when a new song is requested by audience or a song is removed from the queue.
It also contains the settings of the Karaoke Station Extension. In case the client developer wants to display the settings in the UI.