类 MiraiFriendMessagePostSendEvent
java.lang.Object
me.dreamvoid.miraimc.velocity.event.message.postsend.AbstractMessagePostSendEvent
me.dreamvoid.miraimc.velocity.event.message.postsend.MiraiFriendMessagePostSendEvent
- 直接已知子类:
MiraiFriendMessagePostSendEvent
(Velocity) 消息 - 主动发送消息后 - 好友消息
-
构造器概要
构造器说明MiraiFriendMessagePostSendEvent
(net.mamoe.mirai.event.events.FriendMessagePostSendEvent event) -
方法概要
修饰符和类型方法说明获取好友实例long
返回目标好友的QQ号返回目标好友的昵称返回目标好友的备注名从类继承的方法 me.dreamvoid.miraimc.velocity.event.message.postsend.AbstractMessagePostSendEvent
getBotID, getMessage, getMessageContent, getMessageToMiraiCode, getMessageToString, getQuoteReplyMessage, getQuoteReplyMessageContent, getQuoteReplyMessageToMiraiCode, getQuoteReplyMessageToString, getQuoteReplySenderID, getTargetID, recall, recall, toString
-
构造器详细资料
-
MiraiFriendMessagePostSendEvent
public MiraiFriendMessagePostSendEvent(net.mamoe.mirai.event.events.FriendMessagePostSendEvent event)
-
-
方法详细资料
-
getFriendID
public long getFriendID()返回目标好友的QQ号- 返回:
- 好友QQ号
-
getFriendNickName
返回目标好友的昵称- 返回:
- 昵称
-
getFriendRemark
返回目标好友的备注名- 返回:
- 备注名
-
getFriend
获取好友实例- 返回:
- MiraiFriend 实例
-