getJoinedGroupList method
Implementation
Future<List<V2TimGroupInfo>> getJoinedGroupList() async {
V2TimValueCallback<List<V2TimGroupInfo>> result =
await TencentCloudChat.instance.chatSDKInstance.manager.getGroupManager().getJoinedGroupList();
if (result.code == 0) {
if (result.data != null) {
return result.data ?? [];
}
} else {
TencentCloudChat.instance.logInstance.console(
componentName: _tag,
logs: "getJoinedGroupList - code:${result.code}, desc:${result.desc}",
logLevel: TencentCloudChatLogLevel.error,
);
}
return [];
}