设置会话置顶状态的操作参数。

interface SetConversationPinnedParams {
    conversationId: string;
    conversationType: ConversationType;
    pinned: boolean;
}

Hierarchy (View Summary)

Properties

conversationId: string

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

conversationType: ConversationType

会话类型。

pinned: boolean

true 表示置顶,false 表示取消置顶。