- Preparing search index...
- The search index is not available
baileys
Function decodeSyncdMutations
- decodeSyncdMutations(msgMutations, initialState, getAppStateSyncKey, onMutation, validateMacs): Promise<{
hash: Buffer;
indexValueMap: {
[indexMacBase64: string]: {
valueMac: Uint8Array | Buffer;
};
};
}>
-
Parameters
-
-
-
getAppStateSyncKey: FetchAppStateSyncKey
-
onMutation: ((mutation) => void)
-
- (mutation): void
-
Returns void
-
validateMacs: boolean
Returns Promise<{
hash: Buffer;
indexValueMap: {
[indexMacBase64: string]: {
valueMac: Uint8Array | Buffer;
};
};
}>