feat: Added group invitation sending and Added webhook configuration per event in the individual instance registration

This commit is contained in:
Davidson Gomes
2023-06-28 10:29:24 -03:00
parent 77bde5325e
commit bca830dc54
20 changed files with 174 additions and 203 deletions

View File

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