deleteFriendApplication method
删除好友申请
参数
application 好友申请信息,getFriendApplicationList 成功后会返回
Implementation
@override
Future<V2TimCallback> deleteFriendApplication({
required int type,
required String userID,
}) async {
Map<String, dynamic> param = {
"type": type,
"userID": userID,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"deleteFriendApplication",
buildFriendManagerParam(
param,
),
),
),
);
log("deleteFriendApplication", param, resp.toLogString());
return resp;
}