Table of Contents

Class ChatbotSendMessageOptions

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

Represents the options used to send a message to a chatbot.

[ExcludeFromCodeCoverage]
[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Stubs for transpilation.")]
public class ChatbotSendMessageOptions
Inheritance
ChatbotSendMessageOptions
Inherited Members

Constructors

ChatbotSendMessageOptions(string)

Initializes a new instance of the ChatbotSendMessageOptions class.

public ChatbotSendMessageOptions(string message)

Parameters

message string

Message to send.

Properties

AgentId

Gets the identifier of the agent the message is sent to.

public string? AgentId { get; }

Property Value

string

Remarks

When null, the agent currently selected in the chatbot is used.

Attachments

Gets the files attached to the message.

public FileReference[]? Attachments { get; }

Property Value

FileReference[]

Message

Gets the message to send.

public string Message { get; }

Property Value

string

Methods

WithAgentId(string?)

Sets the identifier of the agent the message is sent to.

public ChatbotSendMessageOptions WithAgentId(string? agentId)

Parameters

agentId string

Agent identifier.

Returns

ChatbotSendMessageOptions

Options.

WithAttachments(FileReference[]?)

Sets the files attached to the message.

public ChatbotSendMessageOptions WithAttachments(FileReference[]? attachments)

Parameters

attachments FileReference[]

Attachments.

Returns

ChatbotSendMessageOptions

Options.