ConversationResult<TOutput>

The result of a successfully completed conversation.

Type parameters

NameType
TOutputRecord<string, unknown>

Properties

duration

Optional duration: number

Sum durations of all channels connection. In milliseconds.


endTime

Optional endTime: Date

A moment in time when the conversation was ended. Not available for text chats.


output

output: TOutput

The output context of a DashaScript application.


recordingUrl

Optional recordingUrl: string

A URL of the recording of a conversation, if one exists.


recordingUrls

Optional recordingUrls: string[]

A URLs of the recording of a conversation, if one exists.


startTime

Optional startTime: Date

A moment in time when the conversation was started. Not available for text chats.


tracking

Optional tracking: TrackingInformation

Information about blocks duration, connections duration and connections types.


transcription

transcription: Transcription[]

A full transcription of the conversation, sorted by phrase start time.

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.