fix: add sendMediaGroup to OutboundSendDeps type

This commit is contained in:
Ubuntu 2026-01-28 14:14:54 +00:00
parent aa60fafcb0
commit 00b80950df

View File

@ -47,6 +47,12 @@ export type OutboundSendDeps = {
text: string,
opts?: { mediaUrl?: string },
) => Promise<{ messageId: string; conversationId: string }>;
sendMediaGroup?: (
to: string,
mediaUrls: string[],
caption?: string,
opts?: { messageThreadId?: number; replyToMessageId?: number; accountId?: string },
) => Promise<{ messageIds: string[]; chatId: string }>;
};
export type OutboundDeliveryResult = {