openclaw/src/plugins/runtime/runtime-whatsapp-outbound.runtime.ts

21 lines
677 B
TypeScript
Raw Normal View History

2026-03-16 23:23:54 -07:00
import {
sendMessageWhatsApp as sendMessageWhatsAppImpl,
sendPollWhatsApp as sendPollWhatsAppImpl,
} from "../../../extensions/whatsapp/src/send.js";
type SendMessageWhatsApp =
typeof import("../../../extensions/whatsapp/src/send.js").sendMessageWhatsApp;
type SendPollWhatsApp = typeof import("../../../extensions/whatsapp/src/send.js").sendPollWhatsApp;
export function sendMessageWhatsApp(
...args: Parameters<SendMessageWhatsApp>
): ReturnType<SendMessageWhatsApp> {
return sendMessageWhatsAppImpl(...args);
}
export function sendPollWhatsApp(
...args: Parameters<SendPollWhatsApp>
): ReturnType<SendPollWhatsApp> {
return sendPollWhatsAppImpl(...args);
}