Flow APIs

Twitch

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 send
prefix: (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:

Community of Makers

Our Discord has evolved into a vibrant hub for widget creators. Seek answers to your questions, and showcase your innovative widgets to a community of passionate makers.