hermes-bsd/website/docs/user-guide/messaging
Teknium 26e76a75e5
feat(telegram): opt-in Online/Offline bot status indicator (#49134)
Sets the Telegram bot's short description (the line under its name) to
"Online" on gateway connect and "Offline" on clean disconnect, gated
behind extra.status_indicator (off by default).

Telegram bots have no presence/online dot — that's a user-account
feature the Bot API doesn't expose for bots. The short description is
the closest available surface, so this gives users a way to tell whether
the gateway is up from the bot's profile.

- New extra.status_indicator flag (+ status_online/status_offline text
  overrides), read in __init__ via config.extra — no config-schema change.
- _set_status_indicator() helper: best-effort, swallows API errors so it
  never blocks connect/disconnect; truncates to Telegram's 120-char cap.
- Wired Online after _mark_connected(), Offline at top of disconnect()
  while the bot HTTP client is still alive.
- 9 unit tests + Telegram docs section.

Requested by @ilTrumpista, cc @Teknium.
2026-06-19 11:38:39 -07:00
..
_category_.json
bluebubbles.md
dingtalk.md
discord.md
email.md
feishu.md
google_chat.md
homeassistant.md
index.md feat(gateway): add Raft bundled platform plugin with activity hooks 2026-06-19 07:52:37 -07:00
line.md
matrix.md fix(matrix): isolate room context and restore reliable inbound dispatch (#18505) 2026-06-11 07:41:43 -04:00
mattermost.md
msgraph-webhook.md
ntfy.md
open-webui.md
photon.md fix(photon): correct gateway start command (#45566) 2026-06-13 05:14:59 -07:00
qqbot.md
raft.md feat(gateway): add Raft bundled platform plugin with activity hooks 2026-06-19 07:52:37 -07:00
signal.md
simplex.md feat(simplex): groups, native attachments, text batching, auto-accept 2026-06-08 21:03:45 -07:00
slack.md fix(gateway): Slack approval UX in threads — block-size overflow + typed-prefix instruction text (#43444) 2026-06-10 02:30:01 -07:00
sms.md
teams-meetings.md
teams.md fix(teams): package Microsoft Teams SDK as an installable extra (salvage #43945) (#46764) 2026-06-15 14:35:15 -04:00
telegram.md feat(telegram): opt-in Online/Offline bot status indicator (#49134) 2026-06-19 11:38:39 -07:00
webhooks.md
wecom-callback.md
wecom.md
weixin.md
whatsapp-cloud.md
whatsapp.md Merge commit '6110aed9b' into feat/whatsapp-cloud-api 2026-06-10 21:39:22 -04:00
yuanbao.md