refuseFriendApplication method

Future<V2TimValueCallback<V2TimFriendOperationResult>> refuseFriendApplication({
  1. required FriendApplicationTypeEnum type,
  2. required String userID,
})

拒绝好友申请

参数

application	好友申请信息,getFriendApplicationList 成功后会返回

Implementation

Future<V2TimValueCallback<V2TimFriendOperationResult>>
    refuseFriendApplication({
  required FriendApplicationTypeEnum type,
  required String userID,
}) async {
  return TencentCloudChatSdkPlatform.instance
      .refuseFriendApplication(type: type.index, userID: userID);
}