Skip to main content

Class ChatbotTurn

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for ChatbotTurn. Chat turn contains one user question, an optional display value for the user prompt, and one chatbot response.

Inheritance

objectChatbotTurn

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

ChatbotTurn()

Default constructor - defaults any enum props to 0.

Properties

Attachments

optional array of attachments - can be URL or Base64 encoded data

Property Value

string[]

BotActions

optional dictionary of action buttons. Key = Display text, Value = Prompt text

Property Value

StringDictionary

BotResponse

Text from the chatbot

Property Value

string

Timestamp

UTC timestamp for turn - when response was generated.

Property Value

DateTime

UserDisplayText

Optional display value to use instead of the the UserPrompt

Property Value

string

UserPrompt

Text from the user

Property Value

string

See Also

AIAgent