编辑消息的参数。

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

Hierarchy (View Summary)

Properties

messageId: string

待编辑的消息 ID。

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

编辑后的消息内容。当前仅支持文本消息和自定义消息。

conversationId: string

会话 ID。

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

会话类型。