YouTube API chatbot for live broadcast?

Hi, I’m trying to make a chatbot that can join my channel’s livestream, get messages sent to chat, and send a reply.

I have everything working up to the “Reply” part.

I cannot for the life of me find a way to send a reply in chat.

Does anyone know of documentation, or even better, a working example of a python chatbot for YouTube livestreams?