openclaw/src/plugins/runtime/runtime-whatsapp-outbound.runtime.ts
2026-03-19 03:13:48 +00:00

16 lines
488 B
TypeScript

import {
sendMessageWhatsApp as sendMessageWhatsAppImpl,
sendPollWhatsApp as sendPollWhatsAppImpl,
} from "./runtime-whatsapp-boundary.js";
import type { PluginRuntime } from "./types.js";
type RuntimeWhatsAppOutbound = Pick<
PluginRuntime["channel"]["whatsapp"],
"sendMessageWhatsApp" | "sendPollWhatsApp"
>;
export const runtimeWhatsAppOutbound = {
sendMessageWhatsApp: sendMessageWhatsAppImpl,
sendPollWhatsApp: sendPollWhatsAppImpl,
} satisfies RuntimeWhatsAppOutbound;