Get Twitch chat connection state
this.$api.twitch.is_connected()
Returns a Boolean of the connection state to Twitch chat.
To send a message in Twitch chat
this.$api.twitch.send_message(message, prefix)
message
: (String) message to sendprefix
: (Optional, String) Will prefix the message with the given string data. To reply to a user for example, extract its ID from the tags structure and set this as your prefix: @reply-parent-msg-id=${message.tags['id']}
Functions
The following functions are also available: