searchGroupMembers method

  1. @override
Future<V2TimValueCallback<V2GroupMemberInfoSearchResult>> searchGroupMembers({
  1. required V2TimGroupMemberSearchParam searchParam,
})
override

Implementation

@override
Future<V2TimValueCallback<V2GroupMemberInfoSearchResult>> searchGroupMembers({
  required V2TimGroupMemberSearchParam searchParam,
}) async {
  final result = await TencentImSDKPlugin.v2TIMManager
      .getGroupManager()
      .searchGroupMembers(param: searchParam);
  if (result.code != 0) {
    _coreService.callOnCallback(TIMCallback(
        type: TIMCallbackType.API_ERROR,
        errorMsg: result.desc,
        errorCode: result.code));
  }
  return result;
}