markChatroomMemberBeManager method Null safety

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

Assign the admin role to a member or unassign the admin role from a member.

  • isAdd true: assign the admin role to a member, false: unassign the admin role from a member
  • memberOption The request parameters including the chatroom ID, account ID, and the optional extension field

Implementation

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