Skip to content

Commit

Permalink
feat[onebot11]: complete delete friend params(block: Boolean)
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Nov 28, 2024
1 parent e21c77a commit d0f5742
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
Expand Down

0 comments on commit d0f5742

Please sign in to comment.