Properties
chat.live_location_end
chat.live_location_end: { chat: Wid; id: Wid; seq: number; } chat.live_location_start
chat.live_location_start: { accuracy?: number; chat: Wid; degrees?: number; id: 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: Wid; lastUpdated: number; lat: number; lng: number; speed?: number; } chat.msg_ack_change
chat.msg_ack_change: { ack: number; chat: Wid; ids: MsgKey[]; sender?: Wid; } Type declaration
ack: number
Optional
sender?: Wid
chat.msg_edited
chat.msg_edited: { chat: Wid; id: string; msg: MsgModel; } chat.msg_revoke
chat.msg_revoke: { author?: Wid; from: Wid; id: MsgKey; refId: MsgKey; to: Wid; type: "revoke" | "sender_revoke" | "admin_revoke"; } Type declaration
Optional
author?: Wid
type: "revoke" | "sender_revoke" | "admin_revoke"
chat.new_reaction
chat.new_reaction: { id: MsgKey; msgId: MsgKey; orphan: number; orphanReason: any; reactionText: string; read: boolean; sender: Wid; timestamp: number; } Type declaration
orphan: number
orphanReason: any
reactionText: string
read: boolean
sender: Wid
timestamp: number
chat.poll_response
chat.poll_response: { chatId: Wid; msgId: MsgKey; selectedOptions: number[]; sender: Wid; timestamp: number; } chat.presence_change
chat.presence_change: { id: 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