updateChatroomQueueEntry method Null safety
- {required String roomId,
- required NIMChatroomQueueEntry entry,
- bool isTransient = false}
Update an element of the chatroom queue.
roomId
The chatroom ID
entry
The queue element to be updated
isTransient
(Optional parameter, default value if it is not passed in: false) true: the element needs to be deleted when the user who updates it goes offline or leaves the chatroom.
Implementation
Future<NIMResult<void>> updateChatroomQueueEntry({
required String roomId,
required NIMChatroomQueueEntry entry,
bool isTransient = false,
}) {
return _platform.updateChatroomQueueEntry(
roomId: roomId,
entry: entry,
isTransient: isTransient,
);
}