Class PrivateMessageDeleteEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
-
- net.dv8tion.jda.api.events.message.priv.PrivateMessageDeleteEvent
-
- All Implemented Interfaces:
GenericEvent
public class PrivateMessageDeleteEvent extends GenericPrivateMessageEvent
Indicates that a Message was deleted in aPrivateChannel
.Can be used to retrieve affected PrivateChannel and the ID of the deleted Message.
Requirements
This event requires the
DIRECT_MESSAGES
intent to be enabled.
-
-
Constructor Summary
Constructors Constructor Description PrivateMessageDeleteEvent(JDA api, long responseNumber, long messageId, PrivateChannel channel)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
getChannel, getMessageId, getMessageIdLong
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
PrivateMessageDeleteEvent
public PrivateMessageDeleteEvent(@Nonnull JDA api, long responseNumber, long messageId, @Nonnull PrivateChannel channel)
-
-