Chat

class twitch.api.chat.Chat

This class provides methods for easy access to Twitch Chat API.

classmethod get_badges_by_channel(channel_id)

Gets a list of badges that can be used in chat for a specified channel.

Parameters:channel_id (string) – Channel ID.
classmethod get_emoticons_by_set(emotesets)

Gets all chat emoticons in one or more specified sets.

Parameters:emotesets (list) – List of emoticon sets to be returned.
classmethod get_all_emoticons()

Gets all chat emoticons.

>>> from twitch import TwitchClient
>>> client = TwitchClient('<my client id>')
>>> emotes = client.chat.get_all_emoticons()