Er is that much different than a client-side time-stamp when it receives the event? I imagine this is for ordering purposes, or what? We try to keep events as small as possible to limit maintenance, and to keep performance high.
Events should be received as they get sent through, and a timestamp might be slightly different depending on which server handled the request (though we use ntp and theoretically shouldn’t be clock drift)
You just need a valid oAuth key for the user_id you wish to connect as, the minimum scope to get the user_id from the API is user_read but I have not tested a no scope key, coz no one ever makes those Kappa
Ah, thanks - from what I’m seeing, you can only get logs for one moderator at a time? So you have to watch them all individually?
EDIT: Never mind The listen just confused me. Thanks for the help!
You “login” to pubsub and say “I’d like to connect to this room_id as this user_id identified by this scope” and then you get a feed of ALL moderator actions that all moderators do (including the broadcaster)
A message ID would be useful for deduping events received on multiple sockets (during reconnection, etc). Also, do we have a solution for listening on more than 500 channels (10 connections, 50 topics per connection, 1 channel per topic) yet? I’m hesitant to build features of my bot on top of pubsub until we will reasonably be able to scale past 500 channels.