BotPromptSpecification

data class BotPromptSpecification(val allowInterrupt: Boolean? = null, val maxRetries: Int, val messageGroupsList: List<BotMessageGroup>, val messageSelectionStrategy: BotMessageSelectionStrategy? = null, val promptAttemptsSpecification: Any? = null)

Prompts the user to confirm the intent.

Constructors

Link copied to clipboard
fun BotPromptSpecification(allowInterrupt: Boolean? = null, maxRetries: Int, messageGroupsList: List<BotMessageGroup>, messageSelectionStrategy: BotMessageSelectionStrategy? = null, promptAttemptsSpecification: Any? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val allowInterrupt: Boolean? = null

Indicates whether the user can interrupt a speech prompt from the bot.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies the advanced settings on each attempt of the prompt.