Is it possible to find out the time of the viewer's connection to the chat?

Is it possible to find out the time of the viewer’s connection to the chat? I want to issue points every 10 minutes of watching a stream and am trying to figure out how best to implement this.

Not accurately no

Join/part events are batched, and don’t work in large channels.

So you are limited to the undocumented TMI/chatters API at https://tmi.twitch.tv/group/user/CHANNELNAME/chatters it’s undocumented and can change/break at any time, so use at your own risk.

The other alternative is to watch chat for messages, but that excludes lurkers.

Alternatively a video extension may have here, with a socket connection or similar.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.