deleteFriendApplication method

Future<V2TimCallback> deleteFriendApplication({
  1. required int type,
  2. required String userID,
})

删除好友申请

参数

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

Implementation

Future<V2TimCallback> deleteFriendApplication({
  required int type,
  required String userID,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deleteFriendApplication",
        buildParam(
          {
            "type": type,
            "userID": userID,
          },
        ),
      ),
    ),
  );
}