batchUpdateChatroomQueue abstract method

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

批量更新聊天室队列

roomId 聊天室ID

entry 要更新的队列项列表

needNotify 是否需要发送广播通知

notifyExtension 通知中的自定义字段

返回不在队列中的元素列表

Implementation

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