Package top.focess.qq.api.event.chat
Class GroupChatEvent
- java.lang.Object
-
- top.focess.qq.api.event.Event
-
- top.focess.qq.api.event.bot.BotEvent
-
- top.focess.qq.api.event.chat.ChatEvent
-
- top.focess.qq.api.event.chat.GroupChatEvent
-
- All Implemented Interfaces:
Serializable
public class GroupChatEvent extends ChatEvent
Called when a member who chats in the group the bot is in- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupChatEvent(Bot bot, Member member, MessageChain message, MessageSource source)Constructs a GroupChatEvent
-
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.chat.ChatEvent
getMessage, getSource
-
Methods inherited from class top.focess.qq.api.event.Event
isPrevent, prevent, setPrevent
-
-
-
-
Constructor Detail
-
GroupChatEvent
public GroupChatEvent(Bot bot, Member member, MessageChain message, MessageSource source)
Constructs a GroupChatEvent- Parameters:
bot- the botmember- the one who chats in the group the bot is inmessage- the chat messagesource- the source of the message
-
-