Emote

Emote

new Emote(channel, id, data)

Source:

Creates a new emote.
This constructor is not to be used.

Parameters:
Name Type Description
channel Channel

Channel this emote belongs to.

id string

ID of the emote.

data data

The raw emote data.

Members

channel :Channel

Source:

The channel this emote belongs to.
Only accurate and constant on Twitch emotes.
For other types of emotes, use the owner or ownerName property.

Type:

code :string

Source:

The code or name of the emote.

Type:
  • string

fetcher :EmoteFetcher

Source:

The emote fetcher.

Type:

id :string

Source:

The ID of this emote.

Type:
  • string

type :string

Source:

The type of this emote.
Either twitch, bttv, ffz.

Type:
  • string

Emote

new Emote()

Source:

Base class for emotes.

Members

channel :Channel

Source:

The channel this emote belongs to.
Only accurate and constant on Twitch emotes.
For other types of emotes, use the owner or ownerName property.

Type:

code :string

Source:

The code or name of the emote.

Type:
  • string

fetcher :EmoteFetcher

Source:

The emote fetcher.

Type:

id :string

Source:

The ID of this emote.

Type:
  • string

type :string

Source:

The type of this emote.
Either twitch, bttv, ffz.

Type:
  • string