integrations: add native chat controls and email config presets

Add shared transport-level control commands so Telegram, WhatsApp, and
email threads can manage the active chat directly.

- add a shared integration command helper for /project, /config, /send,
  and /queue send
- wire native command handling into Telegram and WhatsApp sessions
- expose Telegram control commands through bot command routing and update
  transport docs
- add email thread command handling for existing A0 email conversations
- add an optional per-handler email conversation preset backed by model
  presets in the email settings UI and default config
- document the new transport control flow across Telegram, WhatsApp, and
  email
This commit is contained in:
Alessandro 2026-04-11 18:49:13 +02:00
parent 2000ba74a3
commit 395ef8dd33
12 changed files with 473 additions and 20 deletions

View file

@ -84,6 +84,7 @@ class TelegramBotManager(Extension):
on_message=_on_message,
on_command_start=_on_start,
on_command_clear=_on_clear,
on_command_control=_on_message,
on_callback_query=_on_callback,
on_new_members=_on_new_members,
group_mode=bot_cfg.get("group_mode", "mention"),