Beginner Question regarding Twitch chat

I was able to find this resource to get a list of the current viewers which is helpful for what i am looking to do.

https://tmi.twitch.tv/group/user/:channel/chatters

i was hoping something similar exists for the actual chat log where we can either query to get the chat log at the current moment or maybe using WS, for example when viewing a stream there is a WS:

wss://irc-ws.chat.twitch.tv/

that pushes the chat messages in the following format:

`

@badges=subscriber/0;color=;display-name=zzAqua;emotes=;id=8970d3d5-2566-49db-92f0-c1ef0230350e;mod=0;room-id=60056333;subscriber=1;tmi-sent-ts=1531535850610;turbo=0;user-id=233748772;user-type= :zzaqua!zzaqua@zzaqua.tmi.twitch.tv PRIVMSG #tfue :@kunai360x exactly

`

Something like that to be able to get those inside a chrome extension JS code will probably be the easiest solution but i am not sure if that something that is possible?

Thank You.

1 Like