Interface Message

All Superinterfaces:
Content
All Known Implementing Classes:
AbstractMessage, AssistantMessage, SystemMessage, ToolResponseMessage, UserMessage

public interface Message extends Content
The Message interface represents a message that can be sent or received in a chat application. Messages can have content, media attachments, properties, and message types.
See Also:
  • Method Details

    • getMessageType

      MessageType getMessageType()
      Get the message type.
      Returns:
      the message type