Uses of Interface
org.javacord.api.entity.message.Message
-
-
Uses of Message in org.javacord.api
Methods in org.javacord.api that return types with arguments of type Message Modifier and Type Method Description java.util.Optional<Message>DiscordApi. getCachedMessageById(long id)Gets a cached message by its id.default java.util.Optional<Message>DiscordApi. getCachedMessageById(java.lang.String id)Gets a cached message by its id.default java.util.Optional<Message>DiscordApi. getCachedMessageByLink(java.lang.String link)Gets a cached message by its link.default java.util.concurrent.CompletableFuture<Message>DiscordApi. getMessageById(long id, TextChannel channel)Gets a message by its id, if it exists and belongs to the given channel.default java.util.concurrent.CompletableFuture<Message>DiscordApi. getMessageById(java.lang.String id, TextChannel channel)Gets a message by its id, if it exists and belongs to the given channel.default java.util.Optional<java.util.concurrent.CompletableFuture<Message>>DiscordApi. getMessageByLink(java.lang.String link)Gets a message by its link. -
Uses of Message in org.javacord.api.entity.channel
Methods in org.javacord.api.entity.channel that return types with arguments of type Message Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>TextChannel. getMessageById(long id)Gets a message by its id, if it exists and belongs to this channel.default java.util.concurrent.CompletableFuture<Message>TextChannel. getMessageById(java.lang.String id)Gets a message by its id, if it exists and belongs to this channel.java.util.stream.Stream<Message>TextChannel. getMessagesAfterAsStream(long after)Gets a stream of messages in this channel after a given message in any channel sorted from oldest to newest.default java.util.stream.Stream<Message>TextChannel. getMessagesAfterAsStream(Message after)Gets a stream of messages in this channel after a given message in any channel sorted from oldest to newest.java.util.stream.Stream<Message>TextChannel. getMessagesAroundAsStream(long around)Gets a stream of messages in this channel around a given message in any channel.default java.util.stream.Stream<Message>TextChannel. getMessagesAroundAsStream(Message around)Gets a stream of messages in this channel around a given message in any channel.java.util.stream.Stream<Message>TextChannel. getMessagesAsStream()Gets a stream of messages in this channel sorted from newest to oldest.java.util.stream.Stream<Message>TextChannel. getMessagesBeforeAsStream(long before)Gets a stream of messages in this channel before a given message in any channel sorted from newest to oldest.default java.util.stream.Stream<Message>TextChannel. getMessagesBeforeAsStream(Message before)Gets a stream of messages in this channel before a given message in any channel sorted from newest to oldest.java.util.stream.Stream<Message>TextChannel. getMessagesBetweenAsStream(long from, long to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, sorted from first given message to the second given message.default java.util.stream.Stream<Message>TextChannel. getMessagesBetweenAsStream(Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, sorted from first given message to the second given message.Methods in org.javacord.api.entity.channel with parameters of type Message Modifier and Type Method Description default java.util.concurrent.CompletableFuture<java.lang.Void>TextChannel. bulkDelete(Message... messages)Deletes multiple messages at once.default java.util.concurrent.CompletableFuture<ServerThreadChannel>ServerTextChannel. createThreadForMessage(Message message, java.lang.String name, java.lang.Integer autoArchiveDuration)Creates a thread for a message in this ServerTextChannel.default java.util.concurrent.CompletableFuture<ServerThreadChannel>ServerTextChannel. createThreadForMessage(Message message, java.lang.String name, AutoArchiveDuration autoArchiveDuration)Creates a thread for a message in this ServerTextChannel.default java.util.concurrent.CompletableFuture<java.lang.Void>TextChannel. deleteMessages(Message... messages)Deletes multiple messages at once.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfter(int limit, Message after)Gets up to a given amount of messages in this channel after a given message in any channel.default java.util.stream.Stream<Message>TextChannel. getMessagesAfterAsStream(Message after)Gets a stream of messages in this channel after a given message in any channel sorted from oldest to newest.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(java.util.function.Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(java.util.function.Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAround(int limit, Message around)Gets up to a given amount of messages in this channel around a given message in any channel.default java.util.stream.Stream<Message>TextChannel. getMessagesAroundAsStream(Message around)Gets a stream of messages in this channel around a given message in any channel.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(java.util.function.Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(java.util.function.Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBefore(int limit, Message before)Gets up to a given amount of messages in this channel before a given message in any channel.default java.util.stream.Stream<Message>TextChannel. getMessagesBeforeAsStream(Message before)Gets a stream of messages in this channel before a given message in any channel sorted from newest to oldest.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(java.util.function.Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(java.util.function.Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetween(Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries.default java.util.stream.Stream<Message>TextChannel. getMessagesBetweenAsStream(Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, sorted from first given message to the second given message.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(java.util.function.Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(java.util.function.Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, while they meet the given condition.Method parameters in org.javacord.api.entity.channel with type arguments of type Message Modifier and Type Method Description default java.util.concurrent.CompletableFuture<java.lang.Void>TextChannel. bulkDelete(java.lang.Iterable<Message> messages)Deletes multiple messages at once.default java.util.concurrent.CompletableFuture<java.lang.Void>TextChannel. deleteMessages(java.lang.Iterable<Message> messages)Deletes multiple messages at once.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(java.util.function.Predicate<Message> condition, long after)Gets messages in this channel after a given message in any channel until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(java.util.function.Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel until one that meets the given condition is found.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(java.util.function.Predicate<Message> condition, long after)Gets messages in this channel after a given message in any channel while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(java.util.function.Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel while they meet the given condition.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(java.util.function.Predicate<Message> condition, long around)Gets messages in this channel around a given message in any channel until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(java.util.function.Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel until one that meets the given condition is found.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(java.util.function.Predicate<Message> condition, long around)Gets messages in this channel around a given message in any channel while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(java.util.function.Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel while they meet the given condition.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(java.util.function.Predicate<Message> condition, long before)Gets messages in this channel before a given message in any channel until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(java.util.function.Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel until one that meets the given condition is found.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(java.util.function.Predicate<Message> condition, long before)Gets messages in this channel before a given message in any channel while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(java.util.function.Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel while they meet the given condition.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(java.util.function.Predicate<Message> condition, long from, long to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(java.util.function.Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, until one that meets the given condition is found.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(java.util.function.Predicate<Message> condition, long from, long to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(java.util.function.Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, while they meet the given condition.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesUntil(java.util.function.Predicate<Message> condition)Gets messages in this channel from the newer end until one that meets the given condition is found.java.util.concurrent.CompletableFuture<MessageSet>TextChannel. getMessagesWhile(java.util.function.Predicate<Message> condition)Gets messages in this channel from the newer end while they meet the given condition.Constructors in org.javacord.api.entity.channel with parameters of type Message Constructor Description ServerThreadChannelBuilder(Message message, java.lang.String name)Creates a new server thread channel builder for a message. -
Uses of Message in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return Message Modifier and Type Method Description MessageMessageActivity. getMessage()Gets the message of the activity.MessageMessageAttachment. getMessage()Gets the message of the attachment.MessageMessageAuthor. getMessage()Gets the message.MessageReaction. getMessage()Gets the message, the reaction belongs to.Methods in org.javacord.api.entity.message that return types with arguments of type Message Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>MessageUpdater. applyChanges()Edits the message, updating all fields that have been changed by a method call.default java.util.concurrent.CompletableFuture<Message>Message. crossPost()Cross posts the message if it is in an announcement channel.static java.util.concurrent.CompletableFuture<Message>Message. crossPost(DiscordApi api, long channelId, long messageId)Cross posts the message if it is in an announcement channel.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. crossPost(long channelId, long messageId)Cross posts the message if it is in an announcement channel.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. crossPost(java.lang.String channelId, java.lang.String messageId)Cross posts the message if it is in an announcement channel.default java.util.concurrent.CompletableFuture<Message>Message. edit(java.lang.String content)Updates the content of the message.default java.util.concurrent.CompletableFuture<Message>Message. edit(java.lang.String content, java.util.List<EmbedBuilder> embeds)Updates the content and the embed of the message.default java.util.concurrent.CompletableFuture<Message>Message. edit(java.lang.String content, EmbedBuilder... embeds)Updates the content and the embed of the message.default java.util.concurrent.CompletableFuture<Message>Message. edit(java.util.List<EmbedBuilder> embeds)Updates the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, java.lang.String content)Updates the content of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, java.lang.String content, boolean updateContent, java.util.List<EmbedBuilder> embeds, boolean updateEmbed)Updates the content and the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, java.lang.String content, java.util.List<EmbedBuilder> embeds)Updates the content and the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, java.lang.String content, EmbedBuilder... embeds)Updates the content and the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, java.util.List<EmbedBuilder> embeds)Updates the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, EmbedBuilder... embeds)Updates the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, java.lang.String channelId, java.lang.String messageId, java.lang.String content)Updates the content of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, java.lang.String channelId, java.lang.String messageId, java.lang.String content, boolean updateContent, java.util.List<EmbedBuilder> embeds, boolean updateEmbed)Updates the content and the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, java.lang.String channelId, java.lang.String messageId, java.lang.String content, java.util.List<EmbedBuilder> embeds)Updates the content and the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, java.lang.String channelId, java.lang.String messageId, java.lang.String content, EmbedBuilder... embeds)Updates the content and the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, java.lang.String channelId, java.lang.String messageId, java.util.List<EmbedBuilder> embeds)Updates the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. edit(DiscordApi api, java.lang.String channelId, java.lang.String messageId, EmbedBuilder... embeds)Updates the embed of the message.default java.util.concurrent.CompletableFuture<Message>Message. edit(EmbedBuilder... embeds)Updates the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, java.lang.String content)Updates the content of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, java.lang.String content, boolean updateContent, java.util.List<EmbedBuilder> embeds, boolean updateEmbed)Updates the content and the embed of the message.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, java.lang.String content, boolean updateContent, EmbedBuilder embed, boolean updateEmbed)Updates the content and the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, java.lang.String content, java.util.List<EmbedBuilder> embeds)Updates the content and the embed of the message.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, java.lang.String content, EmbedBuilder... embeds)Updates the content and the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, java.util.List<EmbedBuilder> embeds)Updates the embed of the message.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, EmbedBuilder... embeds)Updates the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, java.lang.String content)Updates the content of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, java.lang.String content, boolean updateContent, java.util.List<EmbedBuilder> embeds, boolean updateEmbed)Updates the content and the embed of the message.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, java.lang.String content, boolean updateContent, EmbedBuilder embed, boolean updateEmbed)Updates the content and the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, java.lang.String content, java.util.List<EmbedBuilder> embeds)Updates the content and the embed of the message.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, java.lang.String content, EmbedBuilder... embeds)Updates the content and the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, java.util.List<EmbedBuilder> embeds)Updates the embed of the message.default java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. edit(java.lang.String channelId, java.lang.String messageId, EmbedBuilder... embeds)Updates the embed of the message.default java.util.Optional<Message>Message. getCurrentCachedInstance()default java.util.concurrent.CompletableFuture<Message>Message. getLatestInstance()java.util.Optional<Message>MessageReference. getMessage()Gets the referenced message.default java.util.stream.Stream<Message>Message. getMessagesAfterAsStream()Gets a stream of messages after this message sorted from oldest to newest.default java.util.stream.Stream<Message>Message. getMessagesAroundAsStream()Gets a stream of messages around this message.default java.util.stream.Stream<Message>Message. getMessagesBeforeAsStream()Gets a stream of messages before this message sorted from newest to oldest.default java.util.stream.Stream<Message>Message. getMessagesBetweenAsStream(long other)Gets a stream of all messages between this message and the given message, excluding the boundaries, sorted from this message to the given message.default java.util.stream.Stream<Message>Message. getMessagesBetweenAsStream(Message other)Gets a stream of all messages between this message and the given message, excluding the boundaries, sorted from this message to the given message.default java.util.Optional<Message>MessageSet. getNewestMessage()Gets the newest message in the history.default java.util.Optional<Message>MessageSet. getOldestMessage()Gets the oldest message in the history.java.util.Optional<Message>Message. getReferencedMessage()Gets the message referenced with a reply.default java.util.concurrent.CompletableFuture<Message>Message. removeContent()Removes the content of the message.static java.util.concurrent.CompletableFuture<Message>Message. removeContent(DiscordApi api, long channelId, long messageId)Removes the content of the message.static java.util.concurrent.CompletableFuture<Message>Message. removeContent(DiscordApi api, java.lang.String channelId, java.lang.String messageId)Removes the content of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. removeContent(long channelId, long messageId)Removes the content of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. removeContent(java.lang.String channelId, java.lang.String messageId)Removes the content of the message.default java.util.concurrent.CompletableFuture<Message>Message. removeContentAndEmbed()Removes the content and embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. removeContentAndEmbed(DiscordApi api, long channelId, long messageId)Removes the content and embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. removeContentAndEmbed(DiscordApi api, java.lang.String channelId, java.lang.String messageId)Removes the content and embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. removeContentAndEmbed(long channelId, long messageId)Removes the content and embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. removeContentAndEmbed(java.lang.String channelId, java.lang.String messageId)Removes the content and embed of the message.default java.util.concurrent.CompletableFuture<Message>Message. removeEmbed()Removes the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. removeEmbed(DiscordApi api, long channelId, long messageId)Removes the embed of the message.static java.util.concurrent.CompletableFuture<Message>Message. removeEmbed(DiscordApi api, java.lang.String channelId, java.lang.String messageId)Removes the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. removeEmbed(long channelId, long messageId)Removes the embed of the message.java.util.concurrent.CompletableFuture<Message>UncachedMessageUtil. removeEmbed(java.lang.String channelId, java.lang.String messageId)Removes the embed of the message.java.util.concurrent.CompletableFuture<Message>MessageUpdater. replaceMessage()Edits the message, updating all fields.default java.util.concurrent.CompletableFuture<Message>Message. reply(java.lang.String messageContent)Replies to this message with the given text.default java.util.concurrent.CompletableFuture<Message>Message. reply(java.lang.String messageContent, boolean assertReferenceExists)Replies to this message with the given text.default java.util.concurrent.CompletableFuture<Message>Message. reply(EmbedBuilder embed)Replies to this message with the given embed.default java.util.concurrent.CompletableFuture<Message>Message. reply(EmbedBuilder embed, boolean assertReferenceExists)Replies to this message with the given embed.default java.util.Optional<java.util.concurrent.CompletableFuture<Message>>MessageReference. requestMessage()Requests the referenced message if it isn't present.default java.util.Optional<java.util.concurrent.CompletableFuture<Message>>Message. requestReferencedMessage()Requests the message referenced with a reply.java.util.concurrent.CompletableFuture<Message>MessageBuilder. send(TextChannel channel)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilder. send(Messageable messageable)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilder. send(User user)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilder. send(IncomingWebhook webhook)Sends the message.java.util.concurrent.CompletableFuture<Message>WebhookMessageBuilder. send(DiscordApi api, long webhookId, java.lang.String webhookToken)Sends the message.java.util.concurrent.CompletableFuture<Message>WebhookMessageBuilder. send(DiscordApi api, java.lang.String webhookUrl)Sends the message.java.util.concurrent.CompletableFuture<Message>WebhookMessageBuilder. send(DiscordApi api, java.lang.String webhookId, java.lang.String webhookToken)Sends the message.java.util.concurrent.CompletableFuture<Message>WebhookMessageBuilder. send(IncomingWebhook webhook)Sends the message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.util.List<EmbedBuilder> embeds)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.util.List<EmbedBuilder> embeds, java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.util.List<EmbedBuilder> embeds, java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.util.List<EmbedBuilder> embeds, java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, java.util.List<EmbedBuilder> embeds, HighLevelComponent... components)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, HighLevelComponent... components)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder... embeds)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, boolean tts, java.lang.String nonce)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, boolean tts, java.lang.String nonce, java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, boolean tts, java.lang.String nonce, java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, boolean tts, java.lang.String nonce, java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.lang.String content, EmbedBuilder embed, HighLevelComponent... components)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.util.List<EmbedBuilder> embeds)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.util.List<EmbedBuilder> embeds, java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.util.List<EmbedBuilder> embeds, java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.util.List<EmbedBuilder> embeds, java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(java.util.List<EmbedBuilder> embeds, HighLevelComponent... components)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(HighLevelComponent component)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(HighLevelComponent... components)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder... embeds)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, java.io.File... files)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, java.io.InputStream stream, java.lang.String fileName)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, java.io.InputStream stream, java.lang.String fileName, java.lang.String fileDescription)Sends a message.default java.util.concurrent.CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, HighLevelComponent... components)Sends a message.java.util.concurrent.CompletableFuture<Message>MessageBuilder. sendWithWebhook(DiscordApi api, long webhookId, java.lang.String webhookToken)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilder. sendWithWebhook(DiscordApi api, java.lang.String webhookUrl)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilder. sendWithWebhook(DiscordApi api, java.lang.String webhookId, java.lang.String webhookToken)Sends the message.Methods in org.javacord.api.entity.message with parameters of type Message Modifier and Type Method Description MessageBuilderMessageBuilder. copy(Message message)Fill the builder's values with a message.static java.util.concurrent.CompletableFuture<java.lang.Void>Message. delete(DiscordApi api, Message... messages)Deletes multiple messages at once.java.util.concurrent.CompletableFuture<java.lang.Void>UncachedMessageUtil. delete(Message... messages)Deletes multiple messages at once.static MessageBuilderMessageBuilder. fromMessage(Message message)Creates a message builder from a message.static WebhookMessageBuilderWebhookMessageBuilder. fromMessage(Message message)Creates a webhook message builder from a message.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetween(Message other)Gets all messages between this message and the given message, excluding the boundaries.default java.util.stream.Stream<Message>Message. getMessagesBetweenAsStream(Message other)Gets a stream of all messages between this message and the given message, excluding the boundaries, sorted from this message to the given message.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(Message other, java.util.function.Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(Message other, java.util.function.Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition.MessageSetMessageSet. headSet(Message toElement)MessageSetMessageSet. headSet(Message toElement, boolean inclusive)MessageBuilderMessageBuilder. replyTo(Message message)Sets the message to reply to.MessageBuilderMessageBuilder. replyTo(Message message, boolean assertReferenceExists)Sets the message to reply to.MessageSetMessageSet. subSet(Message fromElement, boolean fromInclusive, Message toElement, boolean toInclusive)MessageSetMessageSet. subSet(Message fromElement, Message toElement)MessageSetMessageSet. tailSet(Message fromElement)MessageSetMessageSet. tailSet(Message fromElement, boolean inclusive)Method parameters in org.javacord.api.entity.message with type arguments of type Message Modifier and Type Method Description static java.util.concurrent.CompletableFuture<java.lang.Void>Message. delete(DiscordApi api, java.lang.Iterable<Message> messages)Deletes multiple messages at once.java.util.concurrent.CompletableFuture<java.lang.Void>UncachedMessageUtil. delete(java.lang.Iterable<Message> messages)Deletes multiple messages at once.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesAfterUntil(java.util.function.Predicate<Message> condition)Gets messages after this message until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesAfterWhile(java.util.function.Predicate<Message> condition)Gets messages after this message while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesAroundUntil(java.util.function.Predicate<Message> condition)Gets messages around this message until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesAroundWhile(java.util.function.Predicate<Message> condition)Gets messages around this message while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBeforeUntil(java.util.function.Predicate<Message> condition)Gets messages before this message until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBeforeWhile(java.util.function.Predicate<Message> condition)Gets messages before this message while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(long other, java.util.function.Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(Message other, java.util.function.Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, until one that meets the given condition is found.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(long other, java.util.function.Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition.default java.util.concurrent.CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(Message other, java.util.function.Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition.Constructors in org.javacord.api.entity.message with parameters of type Message Constructor Description MessageUpdater(Message m)Class constructor. -
Uses of Message in org.javacord.api.entity.message.internal
Methods in org.javacord.api.entity.message.internal that return types with arguments of type Message Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. edit(Message message, boolean allFields)Edits the message.java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilderDelegate. editFollowupMessage(InteractionBase interaction, java.lang.String messageId)Edits the message.java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilderDelegate. editOriginalResponse(InteractionBase interaction)Edits the message.java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. send(TextChannel channel)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. send(Messageable messageable)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. send(User user)Sends the message.java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. send(IncomingWebhook webhook)Sends the message.java.util.concurrent.CompletableFuture<Message>WebhookMessageBuilderDelegate. send(DiscordApi api, java.lang.String webhookId, java.lang.String webhookToken)Sends the message without waiting for a response.java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilderDelegate. sendFollowupMessage(InteractionBase interaction)Sends the message as a followup message.java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. sendWithWebhook(DiscordApi api, java.lang.String webhookId, java.lang.String webhookToken)Sends the message.Methods in org.javacord.api.entity.message.internal with parameters of type Message Modifier and Type Method Description voidMessageBuilderBaseDelegate. copy(Message message)Fill the builder's values with a given message.java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. edit(Message message, boolean allFields)Edits the message. -
Uses of Message in org.javacord.api.entity.webhook
Methods in org.javacord.api.entity.webhook that return types with arguments of type Message Modifier and Type Method Description default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(java.lang.String content, java.lang.String displayName, java.net.URL avatarUrl)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(java.lang.String content, java.lang.String displayName, Icon avatar)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(java.lang.String content, EmbedBuilder... embeds)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(java.lang.String content, EmbedBuilder embed, java.lang.String displayName, java.net.URL avatarUrl)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(java.lang.String content, EmbedBuilder embed, java.lang.String displayName, Icon avatar)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(EmbedBuilder... embeds)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(EmbedBuilder embed, java.lang.String displayName, java.net.URL avatarUrl)Sends a message.default java.util.concurrent.CompletableFuture<Message>IncomingWebhook. sendMessage(EmbedBuilder embed, java.lang.String displayName, Icon avatar)Sends a message. -
Uses of Message in org.javacord.api.event.message
Methods in org.javacord.api.event.message that return Message Modifier and Type Method Description MessageCertainMessageEvent. getMessage()Gets the message of the event.MessageMessageEditEvent. getMessage()Gets the updated message.MessageMessageReplyEvent. getReferencedMessage()Gets the message referenced by the message of this event.Methods in org.javacord.api.event.message that return types with arguments of type Message Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>MessageEvent. editMessage(java.lang.String content)Updates the content of the message involved in the event.java.util.concurrent.CompletableFuture<Message>MessageEvent. editMessage(java.lang.String content, java.util.List<EmbedBuilder> embeds)Updates the content and the embeds of the message involved in the event.default java.util.concurrent.CompletableFuture<Message>MessageEvent. editMessage(java.lang.String content, EmbedBuilder... embeds)Updates the content and the embeds of the message involved in the event.java.util.concurrent.CompletableFuture<Message>MessageEvent. editMessage(java.util.List<EmbedBuilder> embeds)Updates the embeds of the message involved in the event.default java.util.concurrent.CompletableFuture<Message>MessageEvent. editMessage(EmbedBuilder... embeds)Updates the embeds of the message involved in the event.java.util.Optional<Message>OptionalMessageEvent. getMessage()Gets the message from the cache.java.util.Optional<Message>MessageEditEvent. getOldMessage()Gets the old message with its old content.java.util.concurrent.CompletableFuture<Message>RequestableMessageEvent. requestMessage()Requests a message from Discord, if it's not cached. -
Uses of Message in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return Message Modifier and Type Method Description MessageMessageComponentInteractionBase. getMessage()Gets the message that this interaction is related to.MessageMessageInteraction. getMessage()Gets the original message that the interaction came from.MessageMessageContextMenuInteraction. getTarget()Gets the target message. -
Uses of Message in org.javacord.api.interaction.callback
Methods in org.javacord.api.interaction.callback that return types with arguments of type Message Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilder. editFollowupMessage(InteractionBase interaction, long messageId)Edits a followup message from an interaction.java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilder. editFollowupMessage(InteractionBase interaction, java.lang.String messageId)Edits a followup message from an interaction.java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilder. editOriginalResponse(InteractionBase interaction)Edits your original sent response.java.util.concurrent.CompletableFuture<Message>InteractionFollowupMessageBuilder. send()Sends the follow-up message.java.util.concurrent.CompletableFuture<Message>InteractionMessageBuilder. sendFollowupMessage(InteractionBase interaction)Sends a followup message to an interaction.java.util.concurrent.CompletableFuture<Message>InteractionFollowupMessageBuilder. update(long messageId)Edits a followup message that has already been sent for this interaction.java.util.concurrent.CompletableFuture<Message>InteractionFollowupMessageBuilder. update(java.lang.String messageId)Edits a followup message that has already been sent for this interaction.java.util.concurrent.CompletableFuture<Message>InteractionOriginalResponseUpdater. update()Updates your initial response to the interaction.Methods in org.javacord.api.interaction.callback with parameters of type Message Modifier and Type Method Description TExtendedInteractionMessageBuilderBase. copy(Message message)Copy a message's values into this build instance.InteractionMessageBuilderInteractionMessageBuilder. copy(Message message) -
Uses of Message in org.javacord.api.util.internal
Methods in org.javacord.api.util.internal with parameters of type Message Modifier and Type Method Description static ServerThreadChannelBuilderDelegateDelegateFactory. createServerThreadChannelBuilderDelegate(Message message)Creates a new server thread channel builder delegate.ServerThreadChannelBuilderDelegateDelegateFactoryDelegate. createServerThreadChannelBuilderDelegate(Message message)Creates a new server thread channel builder delegate.
-