Package org.javacord.api.event.message
Interface CertainMessageEvent
-
- All Superinterfaces:
ChannelEvent,Event,MessageEvent,TextChannelEvent
- All Known Subinterfaces:
CachedMessagePinEvent,CachedMessageUnpinEvent,MessageCreateEvent
public interface CertainMessageEvent extends MessageEvent
A message event where the message is guaranteed to be in the cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagegetMessage()Gets the message of the event.-
Methods inherited from interface org.javacord.api.event.message.MessageEvent
addReactionsToMessage, addReactionsToMessage, addReactionToMessage, addReactionToMessage, deleteMessage, deleteMessage, editMessage, editMessage, editMessage, getMessageId, getServer, pinMessage, removeAllReactionsFromMessage, removeOwnReactionByEmojiFromMessage, removeOwnReactionByEmojiFromMessage, removeOwnReactionsByEmojiFromMessage, removeOwnReactionsByEmojiFromMessage, removeReactionByEmojiFromMessage, removeReactionByEmojiFromMessage, removeReactionByEmojiFromMessage, removeReactionByEmojiFromMessage, removeReactionsByEmojiFromMessage, removeReactionsByEmojiFromMessage, removeReactionsByEmojiFromMessage, removeReactionsByEmojiFromMessage, unpinMessage
-
Methods inherited from interface org.javacord.api.event.channel.TextChannelEvent
getChannel, getGroupChannel, getPrivateChannel, getServerTextChannel
-
-
-
-
Method Detail
-
getMessage
Message getMessage()
Gets the message of the event.- Returns:
- The message of the event.
-
-