Skip to main content
All docs
V26.1
  • AIChatControl.LoadMessages(IEnumerable<BlazorChatMessage>) Method

    Loads messages to the chat history.

    Namespace: DevExpress.AIIntegration.WinForms.Chat

    Assembly: DevExpress.AIIntegration.WinForms.Chat.v26.1.dll

    NuGet Package: DevExpress.AIIntegration.WinForms.Chat

    Declaration

    public void LoadMessages(
        IEnumerable<BlazorChatMessage> messages
    )

    Parameters

    Name Type Description
    messages IEnumerable<BlazorChatMessage>

    A collection of messages.

    Remarks

    The LoadMessages method loads messages from the specified collection to the AI Chat Control and refreshes the control. Call the SaveMessages() method to obtain the current chat history.

    Refer to the following help topic for additional information: AI Chat Control

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadMessages(IEnumerable<BlazorChatMessage>) method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also