FriendNickChangedEvent

data class FriendNickChangedEvent @MiraiInternalApi constructor(    val friend: Friend,     val from: String,     val to: String) : AbstractEvent, FriendEvent, Packet, FriendInfoChangeEvent

Friend 昵称改变事件, 在此事件广播时好友已经完成改名

See also

Constructors

Link copied to clipboard
fun FriendNickChangedEvent(    friend: Friend,     from: String,     to: String)

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
abstract fun intercept()

拦截这个事件

Properties

Link copied to clipboard
var _intercepted: Boolean = false
Link copied to clipboard
open override val bot: Bot
Link copied to clipboard
val broadCastLock: Mutex

限制一个事件实例不能并行广播. (适用于 object 广播的情况)

Link copied to clipboard
open override val friend: Friend
Link copied to clipboard
val from: String
Link copied to clipboard
val isCancelled: Boolean
Link copied to clipboard
abstract val isIntercepted: Boolean

事件是否已被拦截.

Link copied to clipboard
val to: String
Link copied to clipboard
open override val user: Friend