Appearance
Interface: TwitchBadge
A single badge worn by a viewer, parsed from the message tags.
See
ChatEvent.getBadges to read them from a message, k.emotes.getBadges to resolve them into displayable images.
Properties
set_id
ts
set_id: string;Badge set identifier (e.g. 'subscriber', 'vip', 'moderator').
version
ts
version: string;Version within the set (e.g. '1', or '3012' for a tier-3 12-month sub badge).