new TwitchEmote(channel, id, data)
- Source:
Creates a new Twitch 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
(nullable) description :string
- Source:
The description of the emote.
Type:
- string
(nullable) set :string
- Source:
The set ID of the emote.
Type:
- string
Methods
toLink(size) → {string}
- 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