From 00b80950df864ba3a5ddc475126fe5f3b1ed43ee Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 28 Jan 2026 14:14:54 +0000 Subject: [PATCH] fix: add sendMediaGroup to OutboundSendDeps type --- src/infra/outbound/deliver.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/infra/outbound/deliver.ts b/src/infra/outbound/deliver.ts index 1abbd3557..b949dfe7d 100644 --- a/src/infra/outbound/deliver.ts +++ b/src/infra/outbound/deliver.ts @@ -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 = {