nlef / moonraker-telegram-bot

Telegram bot to interact with Moonraker (Klipper Web API Server)
Creative Commons Zero v1.0 Universal
241 stars 63 forks source link

Better support for actions in Group Chat #308

Open owliwar opened 5 months ago

owliwar commented 5 months ago

What would you like to see added?

I have 3 printers in my home that I added in a group chat with my Partner, so they can also receive notifications and stop printing if something goes wrong and I'm busy attending other stuff. it has happened before more than once before, so Its a usefull thing to have in an emergency. I was using octoprint telegram bot in that time.

Right now, my workaround is adding this groupchat id to the chatID, but the way the bot handles it is not perfect. the buttons are merged, and they both respond, but only if they were the last one to send a notification or if I @them with the action, like /status@botname (no spaces)

I'm not sure if the actions on the chat are overwriten by the bot, but when I was using octoprint telegram bot they could co-exist in the same action menu (with @printername/action)

TLDR I'd like to have at least /status and /pause or /stop print for each bot in a group chat

nlef commented 5 months ago

Hi, Looks like it's a dulicate of #283 Any development in this direction is possible only after the bot is transferred to asincio to support new versions of python-telegram-bot library.

owliwar commented 5 months ago

oh, thanks!