OutboundCallAssistantResponse

Functions

Link copied to clipboard
abstract fun assistant(block: Assistant.() -> Unit): Assistant

This is the assistant that will be used for the call. To use an existing assistant, use assistantId instead.
If you're unsure why you're getting an invalid assistant, try logging your response and send the JSON blob to POST /assistant which will return the validation errors.

Link copied to clipboard
abstract fun assistantId(block: AssistantId.() -> Unit): AssistantId

This is the assistant that will be used for the call. To use a transient assistant, use assistant instead.

Link copied to clipboard
abstract fun squad(block: Squad.() -> Unit): Squad

This is a squad that will be used for the call. To use an existing squad, use squadId instead.

Link copied to clipboard
abstract fun squadId(block: SquadId.() -> Unit): SquadId

This is the squad that will be used for the call. To use a transient squad, use squad instead.