mirror of https://github.com/openclaw/openclaw.git
16 lines
498 B
TypeScript
16 lines
498 B
TypeScript
import {
|
|
sendMessageWhatsApp as sendMessageWhatsAppImpl,
|
|
sendPollWhatsApp as sendPollWhatsAppImpl,
|
|
} from "../../../extensions/whatsapp/src/send.js";
|
|
import type { PluginRuntime } from "./types.js";
|
|
|
|
type RuntimeWhatsAppOutbound = Pick<
|
|
PluginRuntime["channel"]["whatsapp"],
|
|
"sendMessageWhatsApp" | "sendPollWhatsApp"
|
|
>;
|
|
|
|
export const runtimeWhatsAppOutbound = {
|
|
sendMessageWhatsApp: sendMessageWhatsAppImpl,
|
|
sendPollWhatsApp: sendPollWhatsAppImpl,
|
|
} satisfies RuntimeWhatsAppOutbound;
|