AIChatTextMessage
Class
Represents AI-generated text and controls whether the response's action buttons are shown.
Definition
Namespace:Telerik.WinControls.UI.ConversationalUI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class AIChatTextMessage : ChatTextMessage, INotifyPropertyChanged
Inheritance: objectChatMessageChatTextMessageAIChatTextMessage
Implements:
Inherited Members
Constructors
Initializes an AI text message with application-defined user data.
C#
public AIChatTextMessage(string message, Author author, DateTime timeStamp, object userData)
The generated response text.
authorAuthorThe author displayed for the response.
timeStampDateTimeThe time associated with the response.
userDataobjectApplication-defined data associated with the message.
Properties
Gets or sets whether the AI response's copy, regenerate, and vote buttons are displayed. The default is true.
C#
public bool ShowButtonsArea { get; set; }
Changing this property does not raise PropertyChanged, so the chat view is not notified through the message-change path.