mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 12:22:21 -06:00
refactor: chatbot integration
This commit is contained in:
@@ -68,17 +68,20 @@ export class ChatbotController {
|
||||
remoteJid,
|
||||
msg,
|
||||
pushName,
|
||||
isIntegration = false,
|
||||
}: {
|
||||
instance: InstanceDto;
|
||||
remoteJid: string;
|
||||
msg: any;
|
||||
pushName?: string;
|
||||
isIntegration?: boolean;
|
||||
}): Promise<void> {
|
||||
const emitData = {
|
||||
instance,
|
||||
remoteJid,
|
||||
msg,
|
||||
pushName,
|
||||
isIntegration,
|
||||
};
|
||||
// typebot
|
||||
await typebotController.emit(emitData);
|
||||
|
||||
Reference in New Issue
Block a user