Class ThreadCreateParams

  • All Implemented Interfaces:

    
    public final class ThreadCreateParams
    
                        

    The parameters of a message thread: the fields that every request of the thread sends, and the messages that the thread starts with.

    The builder takes every field of MessageCreateParams except thread, which the message thread sets on each request itself. Unlike MessageCreateParams, the messages are optional: a thread can start empty and get its first message from the first send.