Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GetExistingWhiteBlackRolesOptions

Index

Properties

channelId: string

频道 ID

roleIds: string[]

身份组 id 数组 , 最多100个

serverId: string

服务器ID

type: "white" | "black"

类型

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

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