markChatroomMemberBeNormal method Null safety

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

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

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

Implementation

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