Update docs of Nudge, clearification

This commit is contained in:
Him188 2021-03-23 23:57:20 +08:00 committed by GitHub
parent f8da762d2f
commit c071ac5773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ public sealed class Nudge {
public abstract val target: UserOrBot
/**
* 发送戳一戳该成员的消息到 [receiver].
* 发送戳一戳消息到 [receiver].
*
* 需要 [使用协议][BotConfiguration.protocol] [MiraiProtocol.ANDROID_PHONE].
*
@ -55,7 +55,7 @@ public sealed class Nudge {
public companion object {
/**
* 发送戳一戳该成员的消息.
* 发送戳一戳消息.
*
* 需要 [使用协议][BotConfiguration.protocol] [MiraiProtocol.ANDROID_PHONE].
*
@ -109,4 +109,4 @@ public data class FriendNudge(
*/
public data class StrangerNudge(
public override val target: Stranger
) : UserNudge()
) : UserNudge()