置顶或取消置顶消息的参数。

interface PinMessageParams {
    conversationId: string;
    conversationType: ConversationType;
    messageId: string;
}

Hierarchy (View Summary)

Properties

conversationId: string

会话 ID:单聊时为对方用户 ID,群聊时为群组 ID,聊天室时为聊天室 ID。

conversationType: ConversationType

会话类型。

messageId: string

待操作的消息 ID。