How to subscribe to liveChatMessage events in real time

258 Views Asked by At

I'm trying to write a chat bot to forward messages from my live chat into the game I'm playing so I can read them and respond to my audience when I stream, however, it looks like my bot is running into quota exceeded errors.

I could not find a way to subscribe to a message event, so for testing I polled the liveChatMessages resource once a second, which however quickly pushed my over my daily quota.

Obviously it's important for my bot to process messages in near real-time, otherwise I won't be able to properly interact with my audience, but I assume I've simply glossed over a detail in the API documentation. What is the expected / suggested way of processing chat messages from my live chat in real time without exceeding my quota within a couple of hours?

1

There are 1 best solutions below

0
LudenUK On

I agree, this API is useless for chat integration with current quota limits, as I am trying to do the same thing. Requested an increase, guess I'll see what comes back.