Super Chat
- TypeScript
- C#
type SuperChatPayload = {
id: string
timestamp: number
sender?: AudiencePayload
sku: SkuPayload
content: StringContentPayload
color?: string
emotes: EmotePayload[]
start: number
end: number
}
struct SuperChatPayload
{
public string Id;
public int Timestamp;
public AudiencePayload? Sender;
public SkuPayload Sku;
public StringContentPayload Content;
public string? Color;
public EmotePayload[] Emotes;
public int Start;
public int End;
}
This data is sent when a super chat is purchased by any audience in a channel.
caution
Some streaming platforms might allow anonymous super chats. In this case, the sender
field will not be present.