TIMUIKitConversationController class

Properties

conversationList List<V2TimConversation?>
Get the conversation list
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
model TUIConversationViewModel
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedConversation V2TimConversation?
Get the selected conversation currently
getter/setter pair

Methods

clearHistoryMessage({required V2TimConversation conversation}) Future<V2TimCallback?>?
Clear the historical message in a specific conversation
deleteConversation({required String conversationID}) Future<V2TimCallback?>
Delete a conversation
dispose() → dynamic
Clear the conversation list from UI
loadData({int count = 40}) → dynamic
Load the conversation list to UI
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pinConversation({required String conversationID, required bool isPinned}) Future<V2TimCallback>
Pin one conversation to the top
reloadData({int count = 100}) → dynamic
Reload the conversation list to UI
scrollToConversation(String conversationID) → dynamic
Scroll to a specific conversation, this conversation must be existed in conversation list. If not exist, invoking loadData recursively, until find the target conversation.
setConversationDraft({required String conversationID, String? draftText}) Future<V2TimCallback>
Set the draft for a conversation
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited