kickGroupMember method
Implementation
@override
Future<V2TimCallback> kickGroupMember({
required String groupID,
required List<String> memberList,
String? reason,
}) async {
final result = await TencentImSDKPlugin.v2TIMManager
.getGroupManager()
.kickGroupMember(
groupID: groupID, memberList: memberList, reason: reason);
if (result.code != 0) {
_coreService.callOnCallback(TIMCallback(
type: TIMCallbackType.API_ERROR,
errorMsg: result.desc,
errorCode: result.code));
}
return result;
}