markChatroomMemberBeManager method

Future<NIMResult<NIMChatroomMember>> markChatroomMemberBeManager(
  1. {required bool isAdd,
  2. required NIMChatroomMemberOptions options}
)

设置/取消设置聊天室管理员

  • isAdd true:设置, false:取消设置
  • memberOption 请求参数,包含聊天室id,帐号id以及可选的扩展字段

Implementation

Future<NIMResult<NIMChatroomMember>> markChatroomMemberBeManager({
  required bool isAdd,
  required NIMChatroomMemberOptions options,
}) {
  return _platform.markChatroomMemberBeManager(
      isAdd: isAdd, options: options);
}