| 27 | } |
| 28 | |
| 29 | export interface WhatsAppClientOptions { |
| 30 | authDir: string; |
| 31 | onMessage: (msg: InboundMessage) => void; |
| 32 | onQR: (qr: string) => void; |
| 33 | onStatus: (status: string) => void; |
| 34 | } |
| 35 | |
| 36 | export class WhatsAppClient { |
| 37 | private sock: any = null; |
nothing calls this directly
no outgoing calls
no test coverage detected