mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 21:00:20 +00:00
feat(heartbeat): add directPolicy and restore default direct delivery
This commit is contained in:
@@ -213,6 +213,8 @@ export type AgentDefaultsConfig = {
|
||||
session?: string;
|
||||
/** Delivery target ("last", "none", or a channel id). */
|
||||
target?: "last" | "none" | ChannelId;
|
||||
/** Direct/DM delivery policy. Default: "allow". */
|
||||
directPolicy?: "allow" | "block";
|
||||
/** Optional delivery override (E.164 for WhatsApp, chat id for Telegram). Supports :topic:NNN suffix for Telegram topics. */
|
||||
to?: string;
|
||||
/** Optional account id for multi-account channels. */
|
||||
|
||||
Reference in New Issue
Block a user