diff --git a/Lagrange.Core/Common/Interface/Api/GroupExt.cs b/Lagrange.Core/Common/Interface/Api/GroupExt.cs index 6e7270e9f..470bb4624 100644 --- a/Lagrange.Core/Common/Interface/Api/GroupExt.cs +++ b/Lagrange.Core/Common/Interface/Api/GroupExt.cs @@ -88,7 +88,7 @@ public static Task SetGroupRequest(this BotContext bot, BotGroupRequest re public static Task SetGroupFilteredRequest(this BotContext bot, BotGroupRequest request, bool accept = true, string reason = "") => bot.ContextCollection.Business.OperationLogic.SetGroupFilteredRequest(request.GroupUin, request.Sequence, (uint)request.EventType, accept, reason); - public static Task SetFriendRequest(this BotContext bot, FriendRequestEvent request, bool accept = true) + public static Task SetFriendRequest(this BotContext bot, BotFriendRequest request, bool accept = true) => bot.ContextCollection.Business.OperationLogic.SetFriendRequest(request.SourceUid, accept); public static Task GroupPoke(this BotContext bot, uint groupUin, uint friendUin)