Emote

Emote

new Emote(channel, id, data)

Description:
  • Base class for emotes.
    This constructor is not to be used.

Source:
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

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

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

Description:
  • The code or name of the emote.

Source:

The code or name of the emote.

Type:
  • string

fetcher :EmoteFetcher

Description:
  • The emote fetcher.

Source:

The emote fetcher.

Type:

id :string

Description:
  • The ID of this emote.

Source:

The ID of this emote.

Type:
  • string

type :string

Description:
  • The type of this emote.
    Either twitch, bttv, ffz, or '7tv'.

Source:

The type of this emote.
Either twitch, bttv, ffz, or '7tv'.

Type:
  • string

Methods

toObject() → {object}

Description:
  • Override for toObject.
    Will result in an Object representation of an Emote

Source:
Returns:
Type
object