mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
* initial commit * add terminate tag * lint * lint 2 * Update src/Socket/messages-recv.ts * chore: linting --------- Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
16 lines
306 B
TypeScript
16 lines
306 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
|
|
}
|