Class GuildMessageUpdateEvent
- 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.GuildMessageUpdateEvent
-
- All Implemented Interfaces:
GenericEvent
public class GuildMessageUpdateEvent extends GenericGuildMessageEvent
Indicates that a Message was edited in aTextChannel
.Can be used to retrieve affected TextChannel and Message.
Requirements
This event requires the
GUILD_MESSAGES
intent to be enabled.
-
-
Constructor Summary
Constructors Constructor Description GuildMessageUpdateEvent(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 messageMember
getMember()
TheMember
instance of the authorMessage
getMessage()
TheMessage
-
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
-
-