Merge branch 'master' into invalid-qr-patch

This commit is contained in:
Adhiraj Singh
2022-04-22 18:20:17 +05:30
4 changed files with 61 additions and 25 deletions

View File

@@ -103,6 +103,7 @@ export type AnyMediaMessageContent = (
export type AnyRegularMessageContent = (
({
text: string
linkPreview?: WAUrlInfo
}
& Mentionable & Buttonable & Templatable & Listable) |
AnyMediaMessageContent |
@@ -177,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
}