Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GetChannelCategoryWhiteBlackRolesOptions

Index

Properties

categoryId: string

分组ID

roleIds: string[]

身份组ID列表,最多100个

serverId: string

服务器ID

type: "white" | "black"

类型

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

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