refuseGroupApplication method Null safety

Future<V2TimCallback> refuseGroupApplication(
  1. {required String groupID,
  2. String? reason,
  3. required String fromUser,
  4. required String toUser,
  5. required int addTime,
  6. required GroupApplicationTypeEnum type,
  7. String? webMessageInstance}
)

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);
}