Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateChannelCategoryWhiteBlackRoleOptions

Hierarchy

  • UpdateChannelCategoryWhiteBlackRoleOptions

Index

Properties

categoryId: string

分组ID

opeType: "add" | "remove"

操作类型。新增传 "add", 移除传 "remove"

roleId: string

身份组 ID

serverId: string

服务器ID

type: "white" | "black"

类型

  1. 针对公开的频道 QChatChannelCategoryInfo.viewMode 为 0,接口只允许设置黑名单,type 传 "black"

  2. 针对私密的频道 QChatChannelCategoryInfo.viewMode 为 1,接口只允许设置白名单,type 传 "white"