Files
InfiniteAPI/src/Types/Call.ts
T
2025-05-06 12:10:19 -03:00

15 lines
305 B
TypeScript

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