PlayPrompt Class

Definition

This is the action which customers can specify to indicate that the server call agent should play/tts out prompt(s).

public class PlayPrompt : Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ActionBase
type PlayPrompt = class
    inherit ActionBase
Public Class PlayPrompt
Inherits ActionBase
Inheritance
PlayPrompt

Constructors

PlayPrompt()

Properties

Action

The type of action. Various concrete action classes specify their name. This is used to deserialize a list of actions from JSON to their respective concrete classes.

(Inherited from ActionBase)
IsStandaloneAction

Flag to indicate whether this action must not be specified along with any other actions.

(Inherited from ActionBase)
OperationId

An operation Id needs to be specified by customer so that they can correlate outcome to the action. This becomes necessary when multiple actions are specified in one response body

Note: this is the first serialized field since it has the lowest order. By default Json.net starts ordering from -1.

(Inherited from ActionBase)
Prompts

List of prompts to play out

Methods

Validate()

Applies to