Skip to content

Messaging Channels

Yunque Agent supports 16+ messaging channels out of the box. Users can interact with the Agent through any preferred messaging platform.

Supported Channels

ChannelConfig VariablesFeatures
TelegramTELEGRAM_BOT_TOKENRich text, inline keyboards, stickers, callbacks
Feishu (Lark)FEISHU_APP_ID, FEISHU_APP_SECRETMessage cards, approval cards, sticker set learning
DiscordDISCORD_BOT_TOKENEmbeds, buttons, slash commands
SlackSLACK_BOT_TOKENBlock Kit
WhatsAppWHATSAPP_TOKENMessage templates
SignalSIGNAL_CLI_PATHEnd-to-end encryption
EmailEMAIL_IMAP_*, EMAIL_SMTP_*IMAP polling + SMTP sending
WeComWECOM_CORPID, WECOM_AGENT_IDApplication messages
DingTalkDINGTALK_CLIENT_IDWork notifications
WeChat OfficialWECHAT_OA_APPIDFollow/message events
LINELINE_CHANNEL_SECRETFlex Message
KookKOOK_TOKENCard messages
QQQQ_APP_IDQQ Official Bot
SatoriSATORI_ENDPOINTUnified chat protocol
WebChatBuilt-inFrontend web chat
WebSocketBuilt-inReal-time bidirectional

Channel Resilience

Every channel is auto-wrapped with ResilientChannel:

  • Circuit Breaker: Trips on consecutive failures, auto-recovery after cooldown
  • Rate Limiting: Sliding window throttle per channel
  • Offline Queue: Messages cached during disconnection, delivered on reconnect
  • Health Monitoring: Independent health status + lifecycle management per channel

Rich Message Components

12 message component types supported: Text, Image, Audio, Video, File, @Mention, Button, Link, Card, Location, Quote Reply, Carousel.

Unsupported components auto-degrade (e.g., buttons degrade to numbered text options).

Sticker System

  • Emotion → Sticker: Auto emotion analysis after reply, probabilistic sticker attachment
  • Sticker Learning: /add, /add-all commands for learning user stickers
  • Sticker Set Fetch: Batch import Telegram sticker sets, Feishu sticker packs
  • Per-Platform: Each channel manages stickers independently

Slash Commands

Universal commands across all IM channels:

CommandFunction
/think [none|auto|deep]Switch thinking mode
/statusView Agent status
/mission <description>Create scheduled task via natural language
/helpCommand help

Progress Tracking

Channels with ProgressSender support (Telegram, Feishu) show real-time execution progress by editing a "thinking..." message during multi-step execution.

© 2025 云鸢科技(青岛)有限公司 × Dream Lab