@whiskeysockets/baileys
Version:
WhatsApp API
14 lines (13 loc) • 332 B
TypeScript
export type WACallUpdateType = 'offer' | 'ringing' | 'timeout' | 'reject' | 'accept';
export type WACallEvent = {
chatId: string;
from: string;
isGroup?: boolean;
groupJid?: string;
id: string;
date: Date;
isVideo?: boolean;
status: WACallUpdateType;
offline: boolean;
latencyMs?: number;
};