Uses of Interface
org.javacord.api.entity.message.Message
-
Packages that use Message Package Description org.javacord.api org.javacord.api.entity.channel org.javacord.api.entity.message org.javacord.api.entity.message.internal org.javacord.api.event.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 Optional<Message>DiscordApi. getCachedMessageById(long id)Gets a cached message by its id.default Optional<Message>DiscordApi. getCachedMessageById(String id)Gets a cached message by its id.default CompletableFuture<Message>DiscordApi. getMessageById(long id, TextChannel channel)Gets a message by its id.default CompletableFuture<Message>DiscordApi. getMessageById(String id, TextChannel channel)Gets a message by its id. -
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 CompletableFuture<Message>TextChannel. getMessageById(long id)Gets a message by its id.default CompletableFuture<Message>TextChannel. getMessageById(String id)Gets a message by its id.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 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.Stream<Message>TextChannel. getMessagesAroundAsStream(long around)Gets a stream of messages in this channel around a given message in any channel.default Stream<Message>TextChannel. getMessagesAroundAsStream(Message around)Gets a stream of messages in this channel around a given message in any channel.Stream<Message>TextChannel. getMessagesAsStream()Gets a stream of messages in this channel sorted from newest to oldest.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 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.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 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 CompletableFuture<Void>TextChannel. bulkDelete(Message... messages)Deletes multiple messages at once.default CompletableFuture<Void>TextChannel. deleteMessages(Message... messages)Deletes multiple messages at once.default 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 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 CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel while they meet the given condition.default 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 Stream<Message>TextChannel. getMessagesAroundAsStream(Message around)Gets a stream of messages in this channel around a given message in any channel.default CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel while they meet the given condition.default 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 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 CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel while they meet the given condition.default 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 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 CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(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 CompletableFuture<Void>TextChannel. bulkDelete(Iterable<Message> messages)Deletes multiple messages at once.default CompletableFuture<Void>TextChannel. deleteMessages(Iterable<Message> messages)Deletes multiple messages at once.CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(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.CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(Predicate<Message> condition, long after)Gets messages in this channel after a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(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.CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(Predicate<Message> condition, long around)Gets messages in this channel around a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(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.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(Predicate<Message> condition, long before)Gets messages in this channel before a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(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 CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(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.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(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 CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(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.CompletableFuture<MessageSet>TextChannel. getMessagesUntil(Predicate<Message> condition)Gets messages in this channel from the newer end until one that meets the given condition is found.CompletableFuture<MessageSet>TextChannel. getMessagesWhile(Predicate<Message> condition)Gets messages in this channel from the newer end while they meet the given condition. -
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 default Optional<Message>Message. getCurrentCachedInstance()default CompletableFuture<Message>Message. getLatestInstance()default Stream<Message>Message. getMessagesAfterAsStream()Gets a stream of messages after this message sorted from oldest to newest.default Stream<Message>Message. getMessagesAroundAsStream()Gets a stream of messages around this message.default Stream<Message>Message. getMessagesBeforeAsStream()Gets a stream of messages before this message sorted from newest to oldest.default 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 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 Optional<Message>MessageSet. getNewestMessage()Gets the newest message in the history.default Optional<Message>MessageSet. getOldestMessage()Gets the oldest message in the history.CompletableFuture<Message>MessageBuilder. send(TextChannel channel)Sends the message.CompletableFuture<Message>MessageBuilder. send(Messageable messageable)Sends the message.CompletableFuture<Message>MessageBuilder. send(User user)Sends the message.default CompletableFuture<Message>Messageable. sendMessage(File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, boolean tts, String nonce)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, boolean tts, String nonce, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, boolean tts, String nonce, InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, InputStream stream, String fileName)Sends a message.Methods in org.javacord.api.entity.message with parameters of type Message Modifier and Type Method Description static CompletableFuture<Void>Message. delete(DiscordApi api, Message... messages)Deletes multiple messages at once.CompletableFuture<Void>UncachedMessageUtil. delete(Message... messages)Deletes multiple messages at once.static MessageBuilderMessageBuilder. fromMessage(Message message)Creates a message builder from a message.default CompletableFuture<MessageSet>Message. getMessagesBetween(Message other)Gets all messages between this messages and the given message, excluding the boundaries.default 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 CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(Message other, 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 CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(Message other, 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)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 CompletableFuture<Void>Message. delete(DiscordApi api, Iterable<Message> messages)Deletes multiple messages at once.CompletableFuture<Void>UncachedMessageUtil. delete(Iterable<Message> messages)Deletes multiple messages at once.default CompletableFuture<MessageSet>Message. getMessagesAfterUntil(Predicate<Message> condition)Gets messages after this message until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesAfterWhile(Predicate<Message> condition)Gets messages after this message while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesAroundUntil(Predicate<Message> condition)Gets messages around this message until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesAroundWhile(Predicate<Message> condition)Gets messages around this message while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesBeforeUntil(Predicate<Message> condition)Gets messages before this message until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesBeforeWhile(Predicate<Message> condition)Gets messages before this message while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(long other, 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 CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(Message other, 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 CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(long other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(Message other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition. -
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 CompletableFuture<Message>MessageBuilderDelegate. send(TextChannel channel)Sends the message.CompletableFuture<Message>MessageBuilderDelegate. send(Messageable messageable)Sends the message.CompletableFuture<Message>MessageBuilderDelegate. send(User user)Sends the 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.Methods in org.javacord.api.event.message that return types with arguments of type Message Modifier and Type Method Description Optional<Message>OptionalMessageEvent. getMessage()Gets the message from the cache.CompletableFuture<Message>RequestableMessageEvent. requestMessage()Requests a message from Discord, if it's not cached.
-