twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks
Welcome

Classes

ApiClientBadgesApiBitsApiChannelChannelApiChannelFollowChannelPlaceholderChannelSubscriptionChatApiChatBadgeListChatBadgeSetChatBadgeVersionChatEmoteChatEmoteListChattersListCheermoteListConfigErrorCreatedVideoEmoteSetListHelixApiGroupHelixBanHelixBanEventHelixBitsApiHelixBitsLeaderboardHelixBitsLeaderboardEntryHelixChannelHelixChannelApiHelixChannelEditorHelixChannelEmoteHelixChannelPointsApiHelixChannelSearchResultHelixChatApiHelixChatBadgeSetHelixChatBadgeVersionHelixCheermoteListHelixClipHelixClipApiHelixCustomRewardHelixCustomRewardRedemptionHelixEmoteHelixEmoteFromSetHelixEventSubApiHelixEventSubSubscriptionHelixExtensionsApiHelixExtensionTransactionHelixFollowHelixGameHelixGameApiHelixHypeTrainApiHelixHypeTrainContributionHelixHypeTrainEventHelixInstalledExtensionHelixInstalledExtensionListHelixModerationApiHelixModeratorHelixModeratorEventHelixPaginatedRequestHelixPaginatedRequestWithTotalHelixPaginatedScheduleSegmentRequestHelixPollHelixPollApiHelixPollChoiceHelixPredictionHelixPredictionApiHelixPredictionOutcomeHelixPredictorHelixPrivilegedUserHelixScheduleHelixScheduleApiHelixScheduleSegmentHelixSearchApiHelixStreamHelixStreamApiHelixStreamMarkerHelixStreamMarkerWithVideoHelixSubscriptionHelixSubscriptionApiHelixSubscriptionEventHelixTagHelixTagApiHelixTeamHelixTeamApiHelixTeamWithUsersHelixUserHelixUserApiHelixUserBlockHelixUserExtensionHelixUserRelationHelixUserSubscriptionHelixVideoHelixVideoApiHelixWebHooksApiHelixWebHookSubscriptionKrakenApiGroupNoSubscriptionProgramErrorPrivilegedChannelPrivilegedUserSearchApiStreamStreamApiStreamNotLiveErrorSubscriptionTeamTeamApiTeamWithUsersUnsupportedApiUserUserApiUserBlockUserChatInfoUserFollowUserSubscriptionVideoVideoApi

HelixChannelEmote

A Twitch Channel emote.

Overview

Constructor

new HelixChannelEmote(data, client)

ParameterTypeRequiredDefaultDescription
dataHelixChannelEmoteDatanonenone
clientApiClientnonenone

Properties

emoteSetId

Type: string

The ID of the emote set the emote is part of.

id

Type: string

The ID of the emote.

name

Type: string

The name of the emote.

tier

Type:
HelixChannelEmoteSubscriptionTier

The subscription tier necessary to unlock an emote. 1000 means tier 1, and so on.

Aliased type: "1000" | "2000" | "3000"

| null

The subscription tier necessary to unlock the emote, or null if the emote is not a subscription emote.

type

Type: string

The type of the emote.

There are many types of emotes that Twitch seems to arbitrarily assign. Do not rely on this value.

Methods

getAllEmotesFromSet()

async

Retrieves all emotes from the emote's set.

Return type: Array<HelixEmoteFromSet>

getImageUrl(scale)

Gets the URL of the emote image in the given scale.

ParameterTypeRequiredDefaultDescription
scaleHelixEmoteImageScalenone

The scale of the image.

Return type: string