Files
Baileys/src/Types/Call.ts
2023-12-06 06:59:03 -03:00

16 lines
292 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
}