getThreadConversation method
~english Gets the thread conversation by thread ID.
Param threadId The thread ID.
Return The conversation object.
Throws A description of the exception. See EMError.
~end
~chinese 根据 thread ID 获取 thread 会话。
Param threadId Thread ID.
Return 会话对象.
Throws 如果有异常会在这里抛出,包含错误码和错误描述,详见 EMError。
~end
Implementation
Future<EMConversation?> getThreadConversation(String threadId) async {
return Client.instance.chatManager.getThreadConversation(threadId);
}