Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/net/dv8tion/jda/api/entities/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ default MessageEditAction editMessageComponents(@Nonnull LayoutComponent... comp
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_MESSAGE UNKNOWN_MESSAGE}
* <br>The provided {@code messageId} is unknown in this MessageChannel, either due to the id being invalid, or
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages.</li>
Comment thread
Kaktushose marked this conversation as resolved.
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages, if the interaction expired.</li>
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_CHANNEL UNKNOWN_CHANNEL}
* <br>The request was attempted after the channel was deleted.</li>
Expand Down Expand Up @@ -1221,7 +1221,7 @@ default MessageEditAction editMessageComponents(@Nonnull LayoutComponent... comp
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_MESSAGE UNKNOWN_MESSAGE}
* <br>The provided {@code messageId} is unknown in this MessageChannel, either due to the id being invalid, or
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages.</li>
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages, if the interaction expired.</li>
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_CHANNEL UNKNOWN_CHANNEL}
* <br>The request was attempted after the channel was deleted.</li>
Expand Down Expand Up @@ -1762,7 +1762,7 @@ default MessageCreateAction forwardTo(@Nonnull MessageChannel channel)
* or lost {@link Permission#MESSAGE_MANAGE}.</li>
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_MESSAGE UNKNOWN_MESSAGE}
* <br>If the message has already been deleted. This might also be triggered for ephemeral messages.</li>
* <br>If the message has already been deleted. This might also be triggered for ephemeral messages, if the interaction expired.</li>
* </ul>
*
* @throws MissingAccessException
Expand All @@ -1776,8 +1776,8 @@ default MessageCreateAction forwardTo(@Nonnull MessageChannel channel)
* <ul>
* <li>If this Message was not sent by the currently logged in account and it was <b>not</b> sent in a
* {@link GuildChannel GuildChannel}.</li>
* <li>If this Message is ephemeral</li>
* <li>If this message type cannot be deleted. (See {@link MessageType#canDelete()})</li>
* <li>If this Message is ephemeral and the interaction expired.</li>
* </ul>
*
* @return {@link net.dv8tion.jda.api.requests.restaction.AuditableRestAction AuditableRestAction}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ default boolean isExpired()

/**
* Retrieves the original reply to this interaction.
* <br>This doesn't work for ephemeral messages and will always cause an unknown message error response.
*
* @return {@link RestAction} - Type: {@link Message}
*/
Expand Down Expand Up @@ -412,7 +411,7 @@ default WebhookMessageEditAction<Message> editOriginalFormat(@Nonnull String for
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_MESSAGE UNKNOWN_MESSAGE}
* <br>The provided {@code messageId} is unknown in this MessageChannel, either due to the id being invalid, or
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages.</li>
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages, if the interaction expired.</li>
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_CHANNEL UNKNOWN_CHANNEL}
* <br>The request was attempted after the channel was deleted.</li>
Expand Down Expand Up @@ -466,7 +465,7 @@ default WebhookMessageEditAction<Message> editOriginalAttachments(@Nonnull Colle
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_MESSAGE UNKNOWN_MESSAGE}
* <br>The provided {@code messageId} is unknown in this MessageChannel, either due to the id being invalid, or
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages.</li>
* the message it referred to has already been deleted. This might also be triggered for ephemeral messages, if the interaction expired.</li>
*
* <li>{@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_CHANNEL UNKNOWN_CHANNEL}
* <br>The request was attempted after the channel was deleted.</li>
Expand Down