Interface ChatEvent

Represents a chat event.

interface ChatEvent {
    @type: "chatEvent";
    action: ChatEventAction;
    date: number;
    id: string;
    member_id: MessageSender;
}

Properties

@type: "chatEvent"

The action.

date: number

Point in time (Unix timestamp) when the event happened.

id: string

Chat event identifier.

member_id: MessageSender

Identifier of the user or chat who performed the action.