@wppconnect-team/wppconnect
Version:
WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligen
18 lines (17 loc) • 521 B
TypeScript
export interface IncomingCall {
/** alphanumeric ID of the call, can e.g. usable for hanging up */
id: string;
/** ID of the caller, can be used to message them directly */
peerJid: string;
/** Epoch timestamp (seconds) */
offerTime: number;
isVideo: boolean;
isGroup: boolean;
groupJid: string | null;
canHandleLocally: boolean;
outgoing: boolean;
isSilenced: boolean;
offerReceivedWhileOffline: boolean;
webClientShouldHandle: boolean;
participants: any[];
}