updateChatroomQueueEntry method
- {required String roomId,
- required NIMChatroomQueueEntry entry,
- bool isTransient = false}
更新聊天室队列
roomId
聊天室ID
entry
要更新的队列项
isTransient
(可选参数,不传默认false)。true表示当提交这个新元素的用户从聊天室掉线或退出的时候,需要删除这个元素;默认false表示不删除
Implementation
Future<NIMResult<void>> updateChatroomQueueEntry({
required String roomId,
required NIMChatroomQueueEntry entry,
bool isTransient = false,
}) {
return _platform.updateChatroomQueueEntry(
roomId: roomId,
entry: entry,
isTransient: isTransient,
);
}