- Preparing search index...
- The search index is not available
baileys
Function decodeSyncdPatch
- decodeSyncdPatch(msg, name, initialState, getAppStateSyncKey, onMutation, validateMacs): Promise<{
hash: Buffer;
indexValueMap: {
[indexMacBase64: string]: {
valueMac: Uint8Array | Buffer;
};
};
}>
-
Parameters
-
-
name: "critical_block" | "critical_unblock_low" | "regular_high" | "regular_low" | "regular"
-
-
getAppStateSyncKey: FetchAppStateSyncKey
-
onMutation: ((mutation) => void)
-
- (mutation): void
-
Returns void
-
validateMacs: boolean
Returns Promise<{
hash: Buffer;
indexValueMap: {
[indexMacBase64: string]: {
valueMac: Uint8Array | Buffer;
};
};
}>