Skip to main content
All docs
V26.1
  • BlazorChatMessage(ChatRole, String, List<AIChatUploadFileInfo>) Constructor

    Initializes a new instance of the BlazorChatMessage class with specified settings.

    Namespace: DevExpress.AIIntegration.Blazor.Chat

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

    Declaration

    public BlazorChatMessage(
        ChatRole role,
        string text,
        List<AIChatUploadFileInfo> files = null
    )

    Parameters

    Name Type Description
    role Microsoft.Extensions.AI.ChatRole

    The owner role.

    text String

    The message content.

    Optional Parameters

    Name Type Default Description
    files List<AIChatUploadFileInfo> null

    The collection of uploaded files.

    See Also