Appearance
Interface: ResolvedBadge
A badge resolved against the channel's badge sets: the full BadgeVersion (title, description, image URLs 1x/2x/4x) plus the set it belongs to.
See
k.emotes.getBadges / k.emotes.getBadge
Extends
Properties
click_action
ts
click_action: string;Action performed when the badge is clicked on Twitch (may be empty).
Inherited from
click_url
ts
click_url: string;URL opened by click_action (may be empty).
Inherited from
description
ts
description: string;Description of the badge.
Inherited from
id
ts
id: string;Version identifier within its set (e.g. '1', '3012' for a tier-3 12-month sub badge).
Inherited from
image_url_1x
ts
image_url_1x: string;URL of the badge image in 18×18 px.
Inherited from
image_url_2x
ts
image_url_2x: string;URL of the badge image in 36×36 px.
Inherited from
image_url_4x
ts
image_url_4x: string;URL of the badge image in 72×72 px.
Inherited from
set_id
ts
set_id: string;Badge set identifier this version belongs to (e.g. 'subscriber').
title
ts
title: string;Human-readable title of the badge (e.g. '1-Month Subscriber').