Added Typebot integration

This commit is contained in:
Davidson Gomes
2023-08-04 15:00:55 -03:00
parent 84386847e2
commit 3b3118d764
13 changed files with 648 additions and 2 deletions

View File

@@ -80,6 +80,20 @@ export declare namespace wa {
events?: string[];
};
type Session = {
remoteJid?: string;
sessionId?: string;
createdAt?: number;
};
export type LocalTypebot = {
enabled?: boolean;
url?: string;
typebot?: string;
expire?: number;
sessions?: Session[];
};
export type StateConnection = {
instance?: string;
state?: WAConnectionState | 'refused';