Package top.focess.qq.api.event.bot
Class BotSendMessageEvent
- java.lang.Object
-
- top.focess.qq.api.event.Event
-
- top.focess.qq.api.event.bot.BotEvent
-
- top.focess.qq.api.event.bot.BotSendMessageEvent
-
- All Implemented Interfaces:
Serializable
public class BotSendMessageEvent extends BotEvent
Called when bot send message- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BotSendMessageEvent(Bot bot, net.mamoe.mirai.message.data.Message message, net.mamoe.mirai.contact.Contact contract)Constructs a BotEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.mamoe.mirai.contact.ContactgetContract()net.mamoe.mirai.message.data.MessagegetMessage()-
Methods inherited from class top.focess.qq.api.event.Event
isPrevent, setPrevent
-
-
-
-
Constructor Detail
-
BotSendMessageEvent
public BotSendMessageEvent(Bot bot, net.mamoe.mirai.message.data.Message message, net.mamoe.mirai.contact.Contact contract)
Constructs a BotEvent- Parameters:
bot- the botmessage- the messagecontract- the target contact
-
-