pytwitcherapi.chat.message.Emote¶
-
class
pytwitcherapi.chat.message.
Emote
(emoteid, occurences)[source]¶ Bases:
object
Emote from the emotes tag
An emote has an id and occurences in a message. So each emote is tied to a specific message.
You can get the pictures here:
``cdn.jtvnw.net/emoticons/v1/<emoteid>/1.0``
-
__init__
(emoteid, occurences)[source]¶ Initialize a new emote
Parameters: - emoteid (
int
) – The emote id - occurences (
list
) – a list of occurences, e.g. [(0, 4), (8, 12)]
Raises: None
- emoteid (
Methods
__init__
(emoteid, occurences)Initialize a new emote from_str
(emotestr)Create an emote from the emote tag key -
emoteid
= None¶ The emote identifier
-
occurences
= None¶ A list of occurences, e.g. [(0, 4), (8, 12)]
-