Skip to content

Interface: BadgeVersion ​

A version of a Twitch badge: its images and metadata.

Extended by ​

Properties ​

click_action ​

ts
click_action: string;

Action performed when the badge is clicked on Twitch (may be empty).


click_url ​

ts
click_url: string;

URL opened by click_action (may be empty).


description ​

ts
description: string;

Description of the badge.


id ​

ts
id: string;

Version identifier within its set (e.g. '1', '3012' for a tier-3 12-month sub badge).


image_url_1x ​

ts
image_url_1x: string;

URL of the badge image in 18×18 px.


image_url_2x ​

ts
image_url_2x: string;

URL of the badge image in 36×36 px.


image_url_4x ​

ts
image_url_4x: string;

URL of the badge image in 72×72 px.


title ​

ts
title: string;

Human-readable title of the badge (e.g. '1-Month Subscriber').