Sending chat using the helper extension

I’m trying to send a message notification on the chat using the helper extension but I think I’m doing it wrong since the chat does not show up.

Here’s the thing that I’m trying to use

Here’s what I currently have

window.Twitch.ext.send(‘broadcast’,‘application/json’,‘test’)

That is for the broadcaster sending a message to Extension PubSub. not for sending messages to chat.

To send a message to chat you would use the Send Extension Chat Message endpoint.

Chat in Extensions is additionally documented here: https://dev.twitch.tv/docs/extensions/increasing-feedback/#chat-in-extensions

Whoopss my bad, thank you for this one