Properties
chat.active_chat
chat.live_location_end
chat.live_location_start
chat.live_location_start: { accuracy?: number; chat: WAJS.whatsapp.Wid; degrees?: number; id: WAJS.whatsapp.Wid; lat: number; lng: number; msgId: MsgKey; shareDuration: number; speed?: number; } chat.live_location_update
chat.live_location_update: { accuracy?: number; comment: string; degrees?: number; elapsed: number; id: WAJS.whatsapp.Wid; lastUpdated: number; lat: number; lng: number; speed?: number; } chat.msg_ack_change
chat.msg_edited
chat.msg_revoke
Type declaration
type: "revoke" | "sender_revoke" | "admin_revoke"
chat.new_message
chat.new_reaction
chat.new_reaction: { id: MsgKey; msgId: MsgKey; orphan: number; orphanReason: any; reactionText: string; read: boolean; sender: WAJS.whatsapp.Wid; timestamp: number; } Type declaration
orphan: number
orphanReason: any
reactionText: string
read: boolean
timestamp: number
chat.poll_response
chat.presence_change
chat.presence_change: { id: WAJS.whatsapp.Wid; isContact?: boolean; isGroup: boolean; isOnline: boolean; isUser: boolean; participants?: { id: string; shortName: string; state: string; }[]; shortName: string; state: string; t: number; } chat.update_label
chat.update_label: { chat: ChatModel; ids: string[]; labels: Label[]; type: "add" | "remove"; }
Triggered when change the active chat