Class GuildMessageUpdateEvent


  • public class GuildMessageUpdateEvent
    extends GenericGuildMessageEvent
    Indicates that a Message was edited in a TextChannel.

    Can be used to retrieve affected TextChannel and Message.

    • Constructor Detail

      • GuildMessageUpdateEvent

        public GuildMessageUpdateEvent​(JDA api,
                                       long responseNumber,
                                       Message message)
    • Method Detail

      • getMessage

        public Message getMessage()
        Returns:
        The Message
      • getAuthor

        public User getAuthor()
        The author of this message
        Returns:
        The author of this message
        See Also:
        User
      • getMember

        public Member getMember()
        The Member instance of the author
        Returns:
        The member instance for the author