getConversationListByConversationIds method

Future<V2TimValueCallback<List<V2TimConversation>>> getConversationListByConversationIds(
  1. {required List<String> conversationIDList}
)

通过会话ID获取指定会话列表

Implementation

Future<V2TimValueCallback<List<V2TimConversation>>>
    getConversationListByConversationIds({
  required List<String> conversationIDList,
}) async {
  if (kIsWeb) {
    return TencentCloudChatSdkPlatform.instance
      .getConversationListByConversationIds(
          conversationIDList: conversationIDList);
  }

  return TIMConversationManager.instance
      .getConversationListByConversationIds(
          conversationIDList: conversationIDList);
}