openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
15 lines (14 loc) • 616 B
TypeScript
import { type GroupToolPolicyConfig } from "openclaw/plugin-sdk/channel-policy";
import type { OpenClawConfig } from "./runtime-api.js";
type WhatsAppGroupContext = {
cfg: OpenClawConfig;
accountId?: string | null;
groupId?: string | null;
senderId?: string | null;
senderName?: string | null;
senderUsername?: string | null;
senderE164?: string | null;
};
export declare function resolveWhatsAppGroupRequireMention(params: WhatsAppGroupContext): boolean;
export declare function resolveWhatsAppGroupToolPolicy(params: WhatsAppGroupContext): GroupToolPolicyConfig | undefined;
export {};