add group fuc

This commit is contained in:
hrxiang
2021-07-08 18:41:00 +08:00
parent 073b91ba99
commit 3acbacda6d
26 changed files with 536 additions and 141 deletions

View File

@@ -20,8 +20,8 @@ class ConversationManager {
.then((value) => _toList(value));
}
/// sourceID 若为单聊则为userID,若为群聊则为groupID
/// sessionType 若为单聊则为1,若为群聊则为2
/// sourceID: userID(single chat) ,groupID(group chat)
/// sessionType: 1(single chat) ,2(group chat)
Future<ConversationInfo> getSingleConversation(
{required String sourceID, required String sessionType}) {
return _channel