HaDiNet / shiftings

Simple shift management system
MIT License
6 stars 2 forks source link

Telegram Bot Integration #21

Open AdrianSchneble opened 1 year ago

AdrianSchneble commented 1 year ago

Ein Telegram-Bot wäre, neben E-Mails (siehe auch #3), eine super Möglichkeit um User über ihre Schichten zu benachrichtigen. Hierfür gibt es mehrere Möglichkeiten/Dinge zu berücksichtigen:

Theoretisch ist ein Bot auch als Thirdparty-Anwendung umsetzbar, wenn Schichten bspw. über eine Rest-API abgefragt werden können. Funktional besser & einfacher umzusetzen ist aber wahrscheinlich eine direkte Integration in Shiftings.

schliz commented 2 months ago

Since every organization has their own users and admins, we could introduce a model for specifying when open shifts should be announced. We could allow this setting to be customized for every shift type.

Regarding the telegram bot: I would propose allowing multiple notification strategies. Shiftings already supports sending emails to organization members and we could re-use that. In addition to telegram channels, webhook support for Matrix or IRC would also be pretty neat.