Expand description
Module for creating, modifying, and managing messages. This module defines the structures and methods for creating, modifying, and managing messages and their related content. It includes:
CreateMessageRequest
: Struct for creating a new message with optional file IDs and metadata.ModifyMessageRequest
: Struct for modifying an existing message’s metadata.MessageObject
: Struct representing a message object with various attributes.Content
: Struct for the content of a message.ContentText
: Struct for text content within a message, including annotations.ListMessage
: Struct for listing multiple messages.MessageFileObject
: Struct representing a file object associated with a message.ListMessageFile
: Struct for listing multiple message file objects.impl_builder_methods!
: Macro for generating builder methods for structs.
Structs§
- Content
- Represents the content of a message.
- Content
Text - Represents text content within a message, including annotations.
- Create
Message Request - Represents a request to create a new message.
- List
Message - Represents a list of messages.
- List
Message File - Represents a list of message file objects.
- Message
File Object - Represents a file object associated with a message.
- Message
Object - Represents a message object with various attributes.
- Modify
Message Request - Represents a request to modify an existing message’s metadata.