我需要怎样才能获取指定两个人的聊天记录呢
你可以在获取他俩的会话的历史记录吧https://github.com/jpush/jmessage-flutter-plugin/blob/master/documents/APIs.md#gethistorymessages