Send API Chat Message
Sends a message to your Twitch chat from your default account that is connected to SAMMI.\
If you have linked more than one Twitch account to SAMMI, you must specify the channel name, otherwise the message is sent to your Twitch account's channel that has
Join Channel checked in your Twitch Connections menu
Sending a Chat Message via the API WILL cause SAMMI to trigger off these messages, be sure to not create a recursive loop of your bot auto-responding to itself.
| Box Name | Type | Description |
|---|---|---|
| Chat Message | String | The message to be sent over the chat. |
| From | String | The channel you want to send messages from. |
| Channel Name | String | Channel Name (all lowercase) to send the message to. Leave blank unless you have multiple accounts connected to SAMMI. |
| Pin Message | Checkbox | If checked, the message is sent and pinned for 20 minutes. |
Pin Message requires the
moderator:manage:chat_messages Twitch scope. If Twitch cannot pin the message, the message will not be sent.
For more information, see the Twitch API Reference Guide for Send Chat Message.