Interface OptionalMessageEvent

    • Method Detail

      • getMessage

        Optional<Message> getMessage​()
        Gets the message from the cache.
        Returns:
        The message from the cache.
      • getMessageContent

        default Optional<String> getMessageContent​()
        Gets the content of the event's message.
        Returns:
        The content of the event's message.
        See Also:
        Message.getContent()
      • getReadableMessageContent

        default Optional<String> getReadableMessageContent​()
        Gets the readable content of the event's message.
        Returns:
        The readable content of the event's message.
        See Also:
        Message.getReadableContent()