Class
PromptInputSendMessageEventArgs

Provides data for the SendMessage event. Contains a snapshot of the input text and attached files at the time the message was sent.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PromptInputSendMessageEventArgs : EventArgs

Inheritance: objectEventArgsPromptInputSendMessageEventArgs

Inherited Members EventArgs.Empty

Constructors

PromptInputSendMessageEventArgs(string, IReadOnlyList<PromptInputAttachedFile>)

Initializes a new instance of the PromptInputSendMessageEventArgs class.

Declaration

cs-api-definition
public PromptInputSendMessageEventArgs(string text, IReadOnlyList<PromptInputAttachedFile> attachedFiles)

Parameters

text

string

The message text.

attachedFiles

IReadOnlyList<PromptInputAttachedFile>

A snapshot of the attached files.

Properties

AttachedFiles

Gets a read-only snapshot of the attached files at the time the message was sent.

Declaration

cs-api-definition
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; }

Property Value

IReadOnlyList<PromptInputAttachedFile>

Text

Gets the message text that was entered in the input box.

Declaration

cs-api-definition
public string Text { get; }

Property Value

string