From d0f5742c2eabbe718c81a582cce749c3b8780e33 Mon Sep 17 00:00:00 2001 From: RTAkland Date: Thu, 28 Nov 2024 13:14:09 +0800 Subject: [PATCH] feat[onebot11]: complete delete friend params(block: Boolean) --- .../src/main/kotlin/cn/rtast/rob/onebot/OneBotAction.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ronebot-onebot-v11/src/main/kotlin/cn/rtast/rob/onebot/OneBotAction.kt b/ronebot-onebot-v11/src/main/kotlin/cn/rtast/rob/onebot/OneBotAction.kt index e15d84b..54ac866 100644 --- a/ronebot-onebot-v11/src/main/kotlin/cn/rtast/rob/onebot/OneBotAction.kt +++ b/ronebot-onebot-v11/src/main/kotlin/cn/rtast/rob/onebot/OneBotAction.kt @@ -1144,6 +1144,7 @@ class OneBotAction internal constructor( * 该方法是Go-CQHTTP的API * 用于删除好友操作 */ + @JvmOverloads suspend fun deleteFriend(userId: Long, block: Boolean = true) { this.send(DeleteFriendOut(DeleteFriendOut.Params(userId, block))) }