类 MiraiGroupTempMessageEvent
java.lang.Object
cn.nukkit.event.Event
me.dreamvoid.miraimc.nukkit.event.message.passive.AbstractMessageEvent
me.dreamvoid.miraimc.nukkit.event.message.passive.MiraiGroupTempMessageEvent
- 直接已知子类:
MiraiGroupTempMessageEvent
(Nukkit) 消息 - 被动收到消息 - 群临时会话消息
-
字段概要
-
构造器概要
构造器说明MiraiGroupTempMessageEvent
(long BotID, FetchMessage.Data data) MiraiGroupTempMessageEvent
(net.mamoe.mirai.event.events.GroupTempMessageEvent event) -
方法概要
修饰符和类型方法说明long
返回接收到这条信息的群号返回接收到这条信息的群名称从临时会话获取群员实例返回发送这条信息的发送者群名片从类继承的方法 me.dreamvoid.miraimc.nukkit.event.message.passive.AbstractMessageEvent
getBotID, getHandlers, getMessage, getMessageContent, getMessageToMiraiCode, getMessageToString, getQuoteReplyMessage, getQuoteReplyMessageContent, getQuoteReplyMessageToMiraiCode, getQuoteReplyMessageToString, getQuoteReplySenderID, getSenderID, getSenderName, getSenderNick, getTime, getType, reply, replyMirai, sendMessage, sendMessageMirai, toString
从类继承的方法 cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
-
构造器详细资料
-
MiraiGroupTempMessageEvent
public MiraiGroupTempMessageEvent(net.mamoe.mirai.event.events.GroupTempMessageEvent event) -
MiraiGroupTempMessageEvent
-
-
方法详细资料
-
getGroupID
public long getGroupID()返回接收到这条信息的群号- 返回:
- 群号
-
getGroupName
返回接收到这条信息的群名称- 返回:
- 群名称
-
getSenderNameCard
返回发送这条信息的发送者群名片- 返回:
- 发送者群名片
-
getMember
从临时会话获取群员实例- 返回:
- MiraiNormalMember 实例
-