PubSub moderator actions for multiple channels

As per

Only

chat_moderator_actions.<channel ID>

is supported. So there’s your problem, you are trying to read an undocumented topic, and the undocumented topic doesn’t do what you need it to do.

But each message sent over pubsub, should take the format:

{
    topic: thetopic
    message: AnotherJson
}

So you should be able to parse the topic key for the channelID

I use one connection with multiple pairs of topics and auth keys. So you can listen to 10 channels with 10 different auth keys, just send multiple listens. And parse the topic key of each message to see which topic it’s for.

I read the topic. Split around ‘.’ and use the first party to route to the right handler and the second for which channel the message is for