public class MessageDeleteEvent extends GenericMessageEvent
MessageChannel
.
Can be used to detect when a Message is deleted. No matter if private or guild.
JDA does not have a cache for messages and is not able to provide previous information due to limitations by the Discord API!
Constructor | Description |
---|---|
MessageDeleteEvent(JDA api,
long responseNumber,
long messageId,
MessageChannel channel) |
getJDA, getResponseNumber
getChannel, getChannelType, getGroup, getGuild, getMessageId, getMessageIdLong, getPrivateChannel, getTextChannel, isFromType
public MessageDeleteEvent(JDA api, long responseNumber, long messageId, MessageChannel channel)