UNPKG

@seaavey/bot

Version:

The Library for Seaavey Bot

18 lines (17 loc) 501 B
import { ParticipantAction, WAMessage } from '@seaavey/baileys'; import { Messages } from './Messages'; export interface BotEvents { Authenticated: () => void; Reason: (code?: number) => void; 'messages.upsert': (data: { messages: WAMessage[]; }) => void; 'group:action': (data: { id: string; author: string; participants: string[]; action: ParticipantAction; }) => void; message: (m: Messages) => void; Reconnect: () => void; }