refuseGroupApplication method Null safety
Reject a group joining request
Parameters: webMessageInstance web-side instance type GroupApplicationTypeEnum Group pending request type fromUser requester ID toUser to get the processor ID, request to add group: 0, invite to add group: invitee addTime to get the time of group pending addition
When using on the web side, the webMessageInstance field must be passed in. The message instance corresponding to [Group System Notification]
Implementation
Future<V2TimCallback> refuseGroupApplication({
required String groupID,
String? reason,
required String fromUser,
required String toUser,
required int addTime,
required GroupApplicationTypeEnum type,
String? webMessageInstance,
}) async {
return ImFlutterPlatform.instance.refuseGroupApplication(
groupID: groupID,
fromUser: fromUser,
toUser: toUser,
addTime: addTime,
type: type.index,
webMessageInstance: webMessageInstance);
}