UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

14 lines (13 loc) • 761 B
import type { proto } from "@whiskeysockets/baileys"; import { type NormalizedLocation } from "openclaw/plugin-sdk/channel-inbound"; export declare function extractMentionedJids(rawMessage: proto.IMessage | undefined): string[] | undefined; export declare function extractText(rawMessage: proto.IMessage | undefined): string | undefined; export declare function extractMediaPlaceholder(rawMessage: proto.IMessage | undefined): string | undefined; export declare function extractLocationData(rawMessage: proto.IMessage | undefined): NormalizedLocation | null; export declare function describeReplyContext(rawMessage: proto.IMessage | undefined): { id?: string; body: string; sender: string; senderJid?: string; senderE164?: string; } | null;