Added connection functionality via pairing code

This commit is contained in:
Davidson Gomes
2023-07-21 20:37:58 -03:00
parent 93a5d07f9a
commit 8f4d44a212
8 changed files with 41 additions and 5 deletions

View File

@@ -25,7 +25,11 @@ export enum Events {
}
export declare namespace wa {
export type QrCode = { count?: number; base64?: string; code?: string };
export type QrCode = {
count?: number;
base64?: string;
code?: string;
};
export type Instance = {
qrcode?: QrCode;
authState?: { state: AuthenticationState; saveCreds: () => void };