Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UpdateWhiteBlackMembersOptions

Index

Properties

channelId: string

频道 ID

opeType: "add" | "remove"

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

serverId: string

服务器ID

toAccids: string[]

成员的 account ID,一次最多传入 100 个

type: "white" | "black"

类型

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

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