Interface Message

All Known Subinterfaces:
ActionLogMessage, OutgoingMessage, UpdateMessage, UserUpdateMessage

@NonExtendable public interface Message
Represents a message sent received via a Messenger.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the unique id associated with this message.
  • Method Details

    • getId

      @NonNull UUID getId()
      Gets the unique id associated with this message.

      This ID is used to ensure a single server instance doesn't process the same message twice.

      Returns:
      the id of the message