Skip to main content
All docs
V24.2

DxAIChat.LoadMessages(IEnumerable<BlazorChatMessage>) Method

Loads messages to the chat history.

Namespace: DevExpress.AIIntegration.Blazor.Chat

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

NuGet Package: DevExpress.AIIntegration.Blazor.Chat

Declaration

public void LoadMessages(
    IEnumerable<BlazorChatMessage> messages
)

Parameters

Name Type Description
messages IEnumerable<BlazorChatMessage>

A collection of messages.

Remarks

Use SaveMessages() and LoadMessages(IEnumerable<BlazorChatMessage>) methods to manage chat history.

See Also