Class AIAssistViewAttachmentSettings
Inheritance
Namespace: Syncfusion.EJ2.InteractiveChat
Assembly: Syncfusion.AspNetCore.InteractiveChat.dll
Syntax
public class AIAssistViewAttachmentSettings : EJTagHelper
Constructors
AIAssistViewAttachmentSettings()
Declaration
public AIAssistViewAttachmentSettings()
Properties
AllowedFileTypes
Specifies the allowed file types for attachments.
Declaration
public string AllowedFileTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
AttachmentClick
Declaration
public string AttachmentClick { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
AttachmentTemplate
Specifies a custom template for rendering attachments in footer and assistview. Accepts a string or function to define the HTML structure or rendering logic for attachments (e.g., thumbnails, icons, file metadata). If not provided, the default attachments will be rendered.
Declaration
public string AttachmentTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
| Type |
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> |
MaxFileSize
Specifies the maximum file size allowed for attachments in bytes.
Declaration
public double MaxFileSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 2000000 |
MaximumCount
Specifies the maximum number of attachments allowed per prompt. Limits the number of files that can be uploaded and attached to a single prompt. Must be a positive integer.
Declaration
public double MaximumCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 10 |
RemoveUrl
Specifies the URL to remove the files from the server.
Declaration
public string RemoveUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
SaveUrl
Specifies the URL to save the uploaded files.
Declaration
public string SaveUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |