类 MiraiGroupTempMessageEvent
java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
me.dreamvoid.miraimc.sponge.event.message.passive.AbstractMessageEvent
me.dreamvoid.miraimc.sponge.event.message.passive.MiraiGroupTempMessageEvent
- 所有已实现的接口:
Event
- 直接已知子类:
MiraiGroupTempMessageEvent
(Sponge) 消息 - 被动收到消息 - 群临时会话消息
-
字段概要
从类继承的字段 org.spongepowered.api.event.impl.AbstractEvent
currentOrder
-
构造器概要
构造器说明MiraiGroupTempMessageEvent
(long BotID, FetchMessage.Data data, Cause cause) MiraiGroupTempMessageEvent
(net.mamoe.mirai.event.events.GroupTempMessageEvent event, Cause cause) -
方法概要
修饰符和类型方法说明long
返回接收到这条信息的群号返回接收到这条信息的群名称从临时会话获取群员实例返回发送这条信息的发送者群名片从类继承的方法 me.dreamvoid.miraimc.sponge.event.message.passive.AbstractMessageEvent
getBotID, getCause, getMessage, getMessageContent, getMessageToMiraiCode, getMessageToString, getQuoteReplyMessage, getQuoteReplyMessageContent, getQuoteReplyMessageToMiraiCode, getQuoteReplyMessageToString, getQuoteReplySenderID, getSenderID, getSenderName, getSenderNick, getTime, getType, reply, replyMirai, sendMessage, sendMessageMirai, toString
从类继承的方法 org.spongepowered.api.event.impl.AbstractEvent
init
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 org.spongepowered.api.event.Event
getContext, getSource
-
构造器详细资料
-
MiraiGroupTempMessageEvent
public MiraiGroupTempMessageEvent(net.mamoe.mirai.event.events.GroupTempMessageEvent event, Cause cause) -
MiraiGroupTempMessageEvent
-
-
方法详细资料
-
getGroupID
public long getGroupID()返回接收到这条信息的群号- 返回:
- 群号
-
getGroupName
返回接收到这条信息的群名称- 返回:
- 群名称
-
getSenderNameCard
返回发送这条信息的发送者群名片- 返回:
- 发送者群名片
-
getMember
从临时会话获取群员实例- 返回:
- MiraiNormalMember 实例
-