feat: add getMedia
This commit is contained in:
Vendored
+6
@@ -48,6 +48,8 @@ declare const WPP: {
|
||||
},
|
||||
): Promise<any>;
|
||||
|
||||
downloadMedia(msgId: string): Promise<Blob>;
|
||||
|
||||
on(event: string, callback: (...args: any[]) => void): void;
|
||||
};
|
||||
|
||||
@@ -60,5 +62,9 @@ declare const WPP: {
|
||||
getAllGroups(): Promise<any[]>;
|
||||
};
|
||||
|
||||
util: {
|
||||
blobToBase64: (blob: Blob) => Promise<string>;
|
||||
};
|
||||
|
||||
on(event: string, callback: (...args: any[]) => void): void;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user