UNPKG

superchats

Version:

SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp

13 lines (12 loc) 487 B
import { AuthenticationState } from '../../Models'; /** * stores the full authentication state in a single folder. * Far more efficient than singlefileauthstate * * Again, I wouldn't endorse this for any production level use other than perhaps a bot. * Would recommend writing an auth state for use with a proper SQL or No-SQL DB * */ export declare const useMultiFileAuthState: (folder: string) => Promise<{ state: AuthenticationState; saveCreds: () => Promise<void>; }>;