Skip to main content
All docs
V26.1
  • BlazorChatMessage Members

    Defines an individual chat message.

    Constructors

    Name Description
    BlazorChatMessage(ChatRole, List<AIContent>) Initializes a new instance of the BlazorChatMessage class with specified settings.
    BlazorChatMessage(ChatRole, String, List<AIChatUploadFileInfo>) Initializes a new instance of the BlazorChatMessage class with specified settings.

    Properties

    Name Description
    Content Obsolete. Returns the message content.
    Contents Returns the list of AI content items in the message.
    Contexts Returns a collection of AI resources and files attached to the chat message.
    Files Returns a collection of uploaded files.
    FunctionCalls Returns information on all functions invoked by the AI model.
    Role Returns the role of the message owner.
    Text Returns the message text.
    Typing Identifies whether the message is being generated by the AI assistant or it is complete.
    Visible Specifies whether the message is visible in the DxAIChat message area.

    Methods

    Name Description
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also