Table of Contents

Interface IChatbotComponent

Namespace
GroupeIsa.Neos.Designer.UIAbstractions
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

Represents a chatbot component instance, obtained through the ref attribute of the chatbot tag.

public interface IChatbotComponent

Methods

PrepareMessage(ChatbotSendMessageOptions)

Fills the chatbot prompt with a message and its attachments, without sending it, so that the user can complete it first.

void PrepareMessage(ChatbotSendMessageOptions options)

Parameters

options ChatbotSendMessageOptions

Options describing the message to prepare.

PrepareMessage(string)

Fills the chatbot prompt with a message, without sending it, so that the user can complete it first.

void PrepareMessage(string message)

Parameters

message string

Message to prepare.

SendMessage(ChatbotSendMessageOptions)

Sends a message to the chatbot, as if the user had typed it.

void SendMessage(ChatbotSendMessageOptions options)

Parameters

options ChatbotSendMessageOptions

Options describing the message to send.

SendMessage(string)

Sends a message to the chatbot, as if the user had typed it.

void SendMessage(string message)

Parameters

message string

Message to send.

StartNewConversation()

Starts a new conversation, as the new conversation button does: the current answer is canceled and the messages are cleared.

void StartNewConversation()