Package top.focess.qq.api.event.message
Class GroupMessageEvent
- java.lang.Object
-
- top.focess.qq.api.event.Event
-
- top.focess.qq.api.event.bot.BotEvent
-
- top.focess.qq.api.event.message.MessageEvent
-
- top.focess.qq.api.event.message.GroupMessageEvent
-
- All Implemented Interfaces:
Serializable
public class GroupMessageEvent extends MessageEvent
Called when a member who chats in the group the bot is in (this does not execute any commands)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupMessageEvent(Bot bot, Member member, MessageChain message, MessageSource source)Constructs a GroupMessageEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupgetGroup()Get the Group Mirai instance of the memberMembergetMember()-
Methods inherited from class top.focess.qq.api.event.message.MessageEvent
getMessage, getSource
-
Methods inherited from class top.focess.qq.api.event.Event
isPrevent, setPrevent
-
-
-
-
Constructor Detail
-
GroupMessageEvent
public GroupMessageEvent(Bot bot, Member member, MessageChain message, MessageSource source)
Constructs a GroupMessageEvent- Parameters:
bot- the botmember- the one who chats in the group the bot is inmessage- the chat messagesource- the source of the message
-
-