Overview
Constructor
new HelixEmoteFromSet(data, client)
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
data | HelixEmoteFromSetData | none | none | |
client | BaseApiClient | none | none |
Properties
ownerId
Type: string | null
The ID of the user that owns the emote, or null if the emote is not owned by a user.
type
Type: string
The type of the emote.
Known values are: subscriptions
, bitstier
, follower
, rewards
, globals
, smilies
, prime
, limitedtime
.
This list may be non-exhaustive.
Methods
getAnimatedImageUrl(scale, themeMode)
Gets the URL of the emote image in animated format at the given scale and theme mode, or null if an animated emote image at that scale/theme mode doesn't exist.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
scale | HelixEmoteScale | '1.0' | The scale of the image. | |
themeMode | HelixEmoteThemeMode | 'light' | The theme mode of the image, either |
getFormattedImageUrl(scale, format, themeMode)
Gets the URL of the emote image in the given scale, format, and theme mode.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
scale | HelixEmoteScale | '1.0' | The scale of the image, either | |
format | HelixEmoteFormat | 'static' | The format of the image, either | |
themeMode | HelixEmoteThemeMode | 'light' | The theme mode of the image, either |
getImageUrl(scale)
Gets the URL of the emote image in the given scale.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
scale | HelixEmoteImageScale | none | The scale of the image. |
getOwner()
asyncGets more information about the user that owns the emote, or null if the emote is not owned by a user.
getStaticImageUrl(scale, themeMode)
Gets the URL of the emote image in static format at the given scale and theme mode, or null if a static emote image at that scale/theme mode doesn't exist.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
scale | HelixEmoteScale | '1.0' | The scale of the image. | |
themeMode | HelixEmoteThemeMode | 'light' | The theme mode of the image, either |