UNPKG

baileys-bottle

Version:

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

13 lines (12 loc) 362 B
import { AuthenticationState } from "@adiwajshing/baileys"; import { DataSource } from "typeorm"; export default class AuthHandle { private ds; private key; constructor(ds: DataSource, key: string); private repos; useAuthHandle: () => Promise<{ state: AuthenticationState; saveState: () => Promise<any>; }>; }