Skip to main content
All docs
V24.2

MessageSentEventArgs.Content Property

Returns the content of the processed message.

Namespace: DevExpress.AIIntegration.Blazor.Chat

Assembly: DevExpress.AIIntegration.Blazor.Chat.v24.2.dll

NuGet Package: DevExpress.AIIntegration.Blazor.Chat

Declaration

public string Content { get; }

Property Value

Type Description
String

Message text content.

Remarks

Use the Content property to access the content of the message, currently being processed.

<DxAIChat MessageSent="MessageSent" />

@code {
    async Task MessageSent(MessageSentEventArgs args) {
        await args.Chat.SendMessage($"Processed: {args.Content}", ChatRole.Assistant);
    }
}

Run Demo: AI Chat - Manual Message Processing

See Also