feat: Added configuration of events by webhook of instances

This commit is contained in:
Davidson Gomes
2023-06-12 14:40:26 -03:00
parent 0f360d34e8
commit fc30bb9852
8 changed files with 81 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ export declare namespace wa {
profilePictureUrl?: string;
};
export type LocalWebHook = { enabled?: boolean; url?: string };
export type LocalWebHook = { enabled?: boolean; url?: string; events?: string[] };
export type StateConnection = {
instance?: string;