refuseGroupApplication method

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

拒绝某一条加群申请

参数: webMessageInstance web端实例 type GroupApplicationTypeEnum 群未决请求类型 fromUser 请求者ID toUser 获取处理者 ID, 请求加群:0,邀请加群:被邀请人 addTime 获取群未决添加的时间

web 端使用时必须传入webMessageInstance 字段。 对应【群系统通知】的消息实例

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 TencentCloudChatSdkPlatform.instance.refuseGroupApplication(
      groupID: groupID,
      fromUser: fromUser,
      toUser: toUser,
      addTime: addTime,
      type: type.index,
      webMessageInstance: webMessageInstance);
}