refactor: split "downloadContentFromMessage" to "downloadEncryptedContent""

This commit is contained in:
Adhiraj Singh
2022-04-21 00:52:17 +05:30
parent d5e46b784b
commit a98484c38b
2 changed files with 25 additions and 5 deletions

View File

@@ -178,3 +178,9 @@ export type WAMessageUpdate = { update: Partial<WAMessage>, key: proto.IMessageK
export type WAMessageCursor = { before: WAMessageKey | undefined } | { after: WAMessageKey | undefined }
export type MessageUserReceiptUpdate = { key: proto.IMessageKey, receipt: MessageUserReceipt }
export type MediaDecryptionKeyInfo = {
iv: Buffer
cipherKey: Buffer
macKey?: Buffer
}