@japofc/baileys - v2.4.7
    Preparing search index...

    Variable useCacheManagerAuthStateConst

    useCacheManagerAuthState: (
        store: CacheManagerStore,
        sessionKey: string,
    ) => Promise<
        {
            clearState: () => Promise<void>;
            saveCreds: () => Promise<void>;
            state: AuthenticationState;
        },
    >

    Type Declaration

      • (
            store: CacheManagerStore,
            sessionKey: string,
        ): Promise<
            {
                clearState: () => Promise<void>;
                saveCreds: () => Promise<void>;
                state: AuthenticationState;
            },
        >
      • Parameters

        Returns Promise<
            {
                clearState: () => Promise<void>;
                saveCreds: () => Promise<void>;
                state: AuthenticationState;
            },
        >