Overview
Can be accessed using client.helix.chat
on an ApiClient instance.
Example
const api = new ApiClient(new StaticAuthProvider(clientId, accessToken));
const rewards = await api.helix.chat.getChannelBadges('125328655');
Methods
getChannelBadges(broadcaster)
asyncRetrieves all badges specific to the given broadcaster.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
broadcaster | UserIdResolvable | none | The broadcaster to retrieve badges for. |
Return type: Array<HelixChatBadgeSet>
getChannelEmotes(channel)
asyncRetrieves all emotes from a channel.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
channel | UserIdResolvable | none | The channel to retrieve emotes from. |
Return type: Array<HelixChannelEmote>
getEmotesFromSets(setIds)
asyncRetrieves all emotes from a list of emote sets.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
setIds | Array<string> | none | The IDs of the emote sets to retrieve emotes from. |
Return type: Array<HelixEmoteFromSet>