Class GuildMessageDeleteEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent
-
- net.dv8tion.jda.api.events.message.guild.GuildMessageDeleteEvent
-
- All Implemented Interfaces:
GenericEvent
public class GuildMessageDeleteEvent extends GenericGuildMessageEvent
Indicates that a Guild Message was deleted.Can be used retrieve affected TextChannel and the id of the deleted Message.
Requirements
This event requires the
GUILD_MESSAGES
intent to be enabled.
-
-
Constructor Summary
Constructors Constructor Description GuildMessageDeleteEvent(JDA api, long responseNumber, long messageId, TextChannel channel)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent
getChannel, getMessageId, getMessageIdLong
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
GuildMessageDeleteEvent
public GuildMessageDeleteEvent(@Nonnull JDA api, long responseNumber, long messageId, @Nonnull TextChannel channel)
-
-