CreateChatThreadOptions
public struct CreateChatThreadOptions : RequestOptions
                User-configurable options for the CreateChatThread operation.
- 
                  
                  
If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
Declaration
Swift
public let repeatabilityRequestId: String? - 
                  
                  
A client-generated, opaque value with 1KB character limit that is recorded in analytics logs. Highly recommended for correlating client-side activites with requests received by the server.
Declaration
Swift
public let clientRequestId: String? - 
                  
                  
A token used to make a best-effort attempt at canceling a request.
Declaration
Swift
public let cancellationToken: CancellationToken? - 
                  
                  
A dispatch queue on which to call the completion handler. Defaults to
DispatchQueue.main.Declaration
Swift
public var dispatchQueue: DispatchQueue? - 
                  
                  
A
PipelineContextobject to associate with the request.Declaration
Swift
public var context: PipelineContext? - 
                  
                  
Initialize a
CreateChatThreadOptionsstructure.Declaration
Swift
public init( repeatabilityRequestId: String? = nil, clientRequestId: String? = nil, cancellationToken: CancellationToken? = nil, dispatchQueue: DispatchQueue? = nil, context: PipelineContext? = nil )Parameters
repeatabilityRequestIdIf specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
clientRequestIdA client-generated, opaque value with 1KB character limit that is recorded in analytics logs.
cancellationTokenA token used to make a best-effort attempt at canceling a request.
dispatchQueueA dispatch queue on which to call the completion handler. Defaults to
DispatchQueue.main.contextA
PipelineContextobject to associate with the request. 
            View on GitHub
          
      CreateChatThreadOptions Structure Reference