batchUpdateChatroomQueue method Null safety

Future<NIMResult<List<String>>> batchUpdateChatroomQueue(
  1. {required String roomId,
  2. required List<NIMChatroomQueueEntry> entryList,
  3. bool needNotify = true,
  4. Map<String, dynamic>? notifyExtension}
)

Update multiple elements of the chatroom queue.

roomId The chatroom ID

entry The elements to be updated

needNotify Specify whether to send a broadcast notification when the queue elements are updated.

notifyExtension The extension field of the broadcast notification

Return elements not in the queue.

Implementation

Future<NIMResult<List<String>>> batchUpdateChatroomQueue({
  required String roomId,
  required List<NIMChatroomQueueEntry> entryList,
  bool needNotify = true,
  Map<String, dynamic>? notifyExtension,
}) {
  return _platform.batchUpdateChatroomQueue(
    roomId: roomId,
    entryList: entryList,
    needNotify: needNotify,
    notifyExtension: notifyExtension,
  );
}