Files
Baileys/src/Types/Call.ts
2022-05-09 15:00:53 +05:30

14 lines
272 B
TypeScript

export type WACallUpdateType = 'offer' | 'ringing' | 'timeout' | 'reject' | 'accept'
export type WACallEvent = {
chatId: string
from: string
isGroup?: boolean
id: string
date: Date
isVideo?: boolean
status: WACallUpdateType
offline: boolean
latencyMs?: number
}