mirai-core / net.mamoe.mirai.event.events / FriendEvent

FriendEvent

interface FriendEvent : BotEvent

有关好友的事件

Properties

bot

open val bot: Bot

friend

abstract val friend: Friend

friendDeprecated

open val friendDeprecated: QQ

Extension Functions

broadcast

广播一个事件的唯一途径.

suspend fun <E : Event> E.broadcast(): E