消息编辑事件载荷。

触发时机:发送方编辑已发送的消息。 接收方:除当前操作设备外的会话成员,以及编辑者的其他已登录设备。

interface MessageUpdatedEventPayload {
    messageId: string;
    message: Pick<Message, "type" | "body" | "ext" | "modifiedInfo">;
    timestamp: number;
    conversationId: string;
    conversationType: "singleChat" | "groupChat" | "chatRoom";
}

Hierarchy (View Summary)

Properties

messageId: string

被编辑的消息 ID。

message: Pick<Message, "type" | "body" | "ext" | "modifiedInfo">

编辑后的消息内容。

timestamp: number

编辑时间戳。

conversationId: string

会话 ID。

conversationType: "singleChat" | "groupChat" | "chatRoom"

会话类型。