mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-29 10:00:13 +08:00
Update docs of Nudge, clearification
This commit is contained in:
parent
f8da762d2f
commit
c071ac5773
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user