getConversationReadTime method

Future<NIMResult<int>> getConversationReadTime(
  1. String conversationId
)

Implementation

Future<NIMResult<int>> getConversationReadTime(String conversationId) async {
  final enableCloud = await IMKitClient.enableCloudConversation;
  if (enableCloud) {
    return NimCore.instance.conversationService
        .getConversationReadTime(conversationId);
  }
  return NimCore.instance.localConversationService
      .getConversationReadTime(conversationId);
}