feat: handle bad message acks + send retry to all correctly

This commit is contained in:
Adhiraj Singh
2022-06-22 14:50:48 +05:30
parent d61d333c5b
commit 721d0f32d6
3 changed files with 53 additions and 18 deletions

View File

@@ -93,7 +93,7 @@ export type AnyMediaMessageContent = (
seconds?: number
} | ({
sticker: WAMediaUpload
isAnimated?: boolean
isAnimated?: boolean
} & WithDimensions) | ({
document: WAMediaUpload
mimetype: string
@@ -153,6 +153,8 @@ export type MessageRelayOptions = MinimalRelayOptions & {
participant?: string
/** additional attributes to add to the WA binary node */
additionalAttributes?: { [_: string]: string }
/** should we use the devices cache, or fetch afresh from the server; default assumed to be "true" */
useUserDevicesCache?: boolean
}
export type MiscMessageGenerationOptions = MinimalRelayOptions & {