CRE::Notifiers::TelegramBot
TelegramBot does long-polling getUpdates and dispatches commands to operator handlers. Two ACL tiers:
- viewer : read-only commands (/status, /queue, /history, /alerts, /help)
- operator: viewer + mutating commands (/rotate, /snooze)
Authorization is by chat_id; not strictly authentication but adequate for a single-tenant deployment where the bot token + chat IDs live in env vars.
Constants
Log = ::Log.for("cre.telegram_bot")
Constructors
Instance methods
poll_once
Sourcestart
Sourcestop
Source