searchGroups method
Future<V2TimValueCallback<List<V2TimGroupInfo> > >
searchGroups({
- required V2TimGroupSearchParam searchParam,
override
Implementation
@override
Future<V2TimValueCallback<List<V2TimGroupInfo>>> searchGroups({
required V2TimGroupSearchParam searchParam,
}) async {
final result = await TencentImSDKPlugin.v2TIMManager
.getGroupManager()
.searchGroups(searchParam: searchParam);
if (result.code != 0) {
_coreService.callOnCallback(TIMCallback(
type: TIMCallbackType.API_ERROR,
errorMsg: result.desc,
errorCode: result.code));
}
return result;
}