markChatroomMemberMuted method Null safety

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

Add a member to the mute list or remove a member from it.

  • isAdd true:add the member to the mute list, false: remove the member from the mute list
  • memberOption The request parameters including the chatroom ID, account ID, and the optional extension field

Implementation

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