BTTVEmote

BTTVEmote

new BTTVEmote()

Source:

A BTTV emote.

Members

imageType :string

Source:

The image type of the emote.

Type:
  • string

(readonly, nullable) owner :Channel

Source:

The channel of this emote's creator.
Not guaranteed to contain the emote, or be cached.

Type:

(nullable) ownerName :string

Source:

The name of the emote creator's channel.
Will be null for global emotes.

Type:
  • string

Methods

Source:

Gets the image link of the emote.

Parameters:
Name Type Default Description
size number 0

The size of the image, 0, 1, or 2.

Returns:
Type
string

BTTVEmote

new BTTVEmote(channel, id, data)

Source:

Creates a new BTTV emote.

Parameters:
Name Type Description
channel Channel

Channel this emote belongs to.

id string

ID of the emote.

data data

The raw emote data.

Members

imageType :string

Source:

The image type of the emote.

Type:
  • string

(readonly, nullable) owner :Channel

Source:

The channel of this emote's creator.
Not guaranteed to contain the emote, or be cached.

Type:

(nullable) ownerName :string

Source:

The name of the emote creator's channel.
Will be null for global emotes.

Type:
  • string

Methods

Source:

Gets the image link of the emote.

Parameters:
Name Type Default Description
size number 0

The size of the image, 0, 1, or 2.

Returns:
Type
string