Overview
Properties
Methods
Constructor
new HelixUserEmote(data, client)
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
data | HelixUserEmoteData | none | none | |
client | BaseApiClient | none | none |
Properties
emoteSetId
Type: string | null
The ID that identifies the emote set that the emote belongs to, or null
if the emote is not from any set.
ownerId
Type: string | null
The ID of the broadcaster who owns the emote, or null
if the emote has no owner, e.g. it's a global emote.
type
Type: string
The type of the emote.
There are many types of emotes that Twitch seems to arbitrarily assign. Check the relevant values in the official documentation.
Methods
getAllEmotesFromSet()
asyncGets all emotes from the emotes set, or null
if emote is not from any set.
Return type: HelixEmoteFromSet[] | null