V2TIMConversationManager class Manager

会话接口,包含了会话的获取,删除和更新的逻辑

setConversationListener 设置会话监听器

getConversationList 获取会话列表

deleteConversation 获取指定会话

setConversationDraft 删除会话

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteConversation({required String conversationID}) Future<V2TimCallback>
删除会话
getConversation({required String conversationID}) Future<V2TimValueCallback<V2TimConversation>>
获取指定会话
getConversationList({required int nextSeq, required int count}) Future<V2TimValueCallback<V2TimConversationResult>>
获取会话列表
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setConversationDraft({required String conversationID, String? draftText}) Future<V2TimCallback>
设置会话草稿
setConversationListener({required Function listener}) → void
toString() String
A string representation of this object.
inherited

Operators

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