getChannelBadges

suspend fun getChannelBadges(broadcasterId: String): List<ChatBadge>

Twitch API: Get Channel Chat Badges

Gets the broadcaster's list of custom chat badges. The list is empty if the broadcaster hasn't created custom chat badges. For a list of global badges, call getGlobalBadges.

Return

the list of chat badges. The list is sorted in ascending order by set_id, and within a set, the list is sorted in ascending order by the badge version id.

Parameters

broadcasterId

the ID of the broadcaster whose chat badges you want to get.