- Preparing search index...
- The search index is not available
baileys
Function makeCacheManagerAuthState
- makeCacheManagerAuthState(store, sessionKey): Promise<{
clearState: (() => Promise<void>);
saveCreds: (() => Promise<void>);
state: {
creds: AuthenticationCreds;
keys: {
get: ((type, ids) => Promise<{}>);
set: ((data) => Promise<void>);
};
};
}>
-
Parameters
-
store: Store
-
sessionKey: string
Returns Promise<{
clearState: (() => Promise<void>);
saveCreds: (() => Promise<void>);
state: {
creds: AuthenticationCreds;
keys: {
get: ((type, ids) => Promise<{}>);
set: ((data) => Promise<void>);
};
};
}>