New to Telerik UI for WPFStart a free 30-day trial

Represents a message that displays simple text.

Definition

Constructors

Initializes a new instance of the TextMessage class.

C#
public TextMessage(Author author, string text, DateTime creationDate = default)
Parameters:authorAuthortextstringcreationDateDateTime

Initializes a new instance of the TextMessage class.

C#
public TextMessage(Author author, string text, string status, DateTime creationDate = default)
Parameters:authorAuthortextstringstatusstringcreationDateDateTime

Properties

Gets or sets the attached files associated with this message.

C#
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; set; }

Gets the InlineViewModel.

C#
public InlineViewModel InlineViewModel { get; }

Implements: IInlineMessage.InlineViewModel

Gets or sets the text that gets displayed in the message.

C#
public string Text { get; set; }