ThreadRequestBuilder

A thread request builder.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The list of messages to be included in the thread. Each message is represented by a ThreadMessage.

Link copied to clipboard

Set of 16 key-value pairs that can be attached to the thread. This can be useful for storing additional information about the thread in a structured format. Keys can be a maximum of 64 characters long, and values can be a maximum of 512 characters long.

Functions

Link copied to clipboard

Builds and returns a ThreadRequest instance.

Link copied to clipboard

Sets a list of messages to the request.