UNPKG

baileys-bottle-devstroupe

Version:

A little package made by deadlinecode and updated by vspok for storing all the data from baileys in whatever database you want to use by using typeorm

18 lines (17 loc) 442 B
import { AuthenticationState } from "baileys"; import { DataSource } from "typeorm"; interface AuthOptions { credsFile?: string; replace?: boolean; } export default class AuthHandle { private ds; private key; constructor(ds: DataSource, key: string); private repos; useAuthHandle: (options?: AuthOptions) => Promise<{ state: AuthenticationState; saveState: () => Promise<any>; }>; } export {};