Track in-flight sends per channel so unrelated deliveries cannot delay Telegram revocation. Stop command intake immediately, wait only for Telegram's active sends, and make receiver shutdown idempotent.
Retire the previous Telegram channel before applying a persisted identity replacement, while preserving unrelated channels. Restore the prior binding when configuration persistence itself fails.
Describe BotFather token setup, authorized private-chat binding, MP3 verification, and the absence of a QR registration flow. Keep the config example and OpenAPI settings contract aligned with runtime behavior.
Mask Bot Tokens in settings responses, preserve masked values on save, and expose persisted private-chat binding status. Add the Telegram settings panel with optional Chat ID onboarding and responsive fields.
Why: Telegram command replies could only send text, so /vocall dropped its MP3 recording.
Why this works: queue command replies, upload validated MP3 files through sendAudio, and emit the completion text only after Telegram accepts the audio.
Remaining: settings security, UI guidance, and documentation follow in the mission.
Why: Telegram commands ignored the configured admin ID and required a prefilled chat target, unlike the other bidirectional bot channels.
Why this works: authorize the configured admin, persist the first private target, expose shared help through /start, and register a deterministic Bot API command menu.
Remaining: MP3 command attachments and settings/documentation updates follow in the same mission.
Why: WeCom call commands need native voice when the retained recording is compatible and an explicit file downgrade for every other format.
Why this works: inspect the real AMR header and size, upload with the init/chunk/finish protocol in 512 KiB chunks, and send the resulting voice or file through the callback request context.
Remaining: production media delivery requires real WeCom bot credentials; QQ onboarding and voice delivery follow in the mission.
Why: WeCom smart robots need a native long-lived command and notification channel alongside the existing Webhook integration.
Why this works: authenticate with aibot_subscribe, correlate requests by req_id, authorize and bind direct messages, send passive command replies, and reconnect with bounded backoff and heartbeats.
Remaining: media upload and voice/file delivery are implemented in the next mission row; production connectivity requires scanned or manually supplied credentials.
Why: HiDeck needs the Hermes-compatible WeCom smart-robot onboarding flow without requiring OpenClaw or replacing the existing Webhook channel.
Why this works: use the WeCom admin QR endpoints, persist masked manual or scanned credentials, and keep wecom_bot configuration independent from legacy Webhook settings.
Remaining: the long-lived WebSocket command and media pipelines are implemented in the following mission rows.