CreateThreadMessageRequest

data class CreateThreadMessageRequest(var role: ThreadUser, var content: String, var fileIds: MutableList<String>?, var metadata: MutableMap<String, String>?)

Represents a request to create a new message in a Thread.

Constructors

Link copied to clipboard
constructor(role: ThreadUser, content: String, fileIds: MutableList<String>?, metadata: MutableMap<String, String>?)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The content of the message.

Link copied to clipboard

The IDs of the files to attach to the message.

Link copied to clipboard

The metadata to attach to the message.

Link copied to clipboard

The role of the user creating the message.