Class PrivateMessageUpdateEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
-
- net.dv8tion.jda.api.events.message.priv.PrivateMessageUpdateEvent
-
- All Implemented Interfaces:
GenericEvent
public class PrivateMessageUpdateEvent extends GenericPrivateMessageEvent
Indicates that a Message was edited in aPrivateChannel
.Can be used retrieve affected PrivateChannel and edited Message.
Requirements
This event requires the
DIRECT_MESSAGES
intent to be enabled.
-
-
Constructor Summary
Constructors Constructor Description PrivateMessageUpdateEvent(JDA api, long responseNumber, Message message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getAuthor()
The author of this messageMessage
getMessage()
TheMessage
that was updated-
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
-
-