Channel

Channel

new Channel(fetcher, id)

Description:
  • A Twitch channel.

Source:
Parameters:
Name Type Description
fetcher EmoteFetcher

The emote fetcher.

id int

ID of the channel.

Members

(nullable) channel_id :int

Description:
  • The ID of this channel.
    For the global channel, the ID will be null.

Source:

The ID of this channel.
For the global channel, the ID will be null.

Type:
  • int

emotes :Collection.<string, Emote>

Description:
  • Cached emotes belonging to this channel.

Source:

Cached emotes belonging to this channel.

Type:

fetcher :EmoteFetcher

Description:
  • The emote fetcher.

Source:

The emote fetcher.

Type:

Methods

fetchBTTVEmotes() → {Promise.<Collection.<string, BTTVEmote>>}

Description:
  • Fetches the BTTV emotes for this channel.

Source:
Returns:
Type
Promise.<Collection.<string, BTTVEmote>>

fetchFFZEmotes() → {Promise.<Collection.<string, FFZEmote>>}

Description:
  • Fetches the FFZ emotes for this channel.

Source:
Returns:
Type
Promise.<Collection.<string, FFZEmote>>

fetchSevenTVEmotes() → {Promise.<Collection.<string, SevenTVEmote>>}

Description:
  • Fetches the 7TV emotes for this channel.

Source:
Returns:
Type
Promise.<Collection.<string, SevenTVEmote>>