feat: unify provider reaction tools
This commit is contained in:
1 parent
551a8d5683
commit
3afef2d504
41 files changed
+1169
-82
No files matched your search
+2
-1
@@ -100,10 +100,11 @@ export async function sendReactionWhatsApp(
|
||||
verbose: boolean;
|
||||
fromMe?: boolean;
|
||||
participant?: string;
|
||||
accountId?: string;
|
||||
},
|
||||
): Promise<void> {
|
||||
const correlationId = randomUUID();
|
||||
const active = getActiveWebListener();
|
||||
const active = getActiveWebListener(options.accountId);
|
||||
if (!active) {
|
||||
throw new Error(
|
||||
"No active gateway listener. Start the gateway before sending WhatsApp reactions.",
|
||||
|
||||
Reference in new issue
Block a user