getConversation method
Future<Conversation?>
getConversation({
- required String conversationId,
- ConversationType type = ConversationType.Chat,
Implementation
Future<Conversation?> getConversation({
required String conversationId,
ConversationType type = ConversationType.Chat,
}) {
return checkResult(ChatSDKEvent.getConversation, () {
return Client.getInstance.chatManager
.getConversation(conversationId, type: type, createIfNeed: false);
});
}