Attachment

@Serializable
data class Attachment(val fileId: FileId? = null, val tools: List<AssistantTool>? = null)

References an Attachment in the message request.

Constructors

Link copied to clipboard
constructor(fileId: FileId? = null, tools: List<AssistantTool>? = null)

Properties

Link copied to clipboard
@SerialName(value = "file_id")
val fileId: FileId? = null

The ID of the file to attach to the message.

Link copied to clipboard
@SerialName(value = "tools")
val tools: List<AssistantTool>? = null

The tools to add this file to.