Class AIAssistViewAttachmentSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
AIAssistViewAttachmentSettingsBuilder
Assembly: Syncfusion.AspNetCore.InteractiveChat.dll
Syntax
public class AIAssistViewAttachmentSettingsBuilder : ControlBuilder
Constructors
AIAssistViewAttachmentSettingsBuilder()
Declaration
public AIAssistViewAttachmentSettingsBuilder()
AIAssistViewAttachmentSettingsBuilder(AIAssistViewAttachmentSettings)
Declaration
public AIAssistViewAttachmentSettingsBuilder(AIAssistViewAttachmentSettings model)
Parameters
Methods
AllowedFileTypes(String)
Specifies the allowed file types for attachments.
Declaration
public AIAssistViewAttachmentSettingsBuilder AllowedFileTypes(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
AttachmentClick(String)
Event raised when a attachment item is clicked in the assistview component either before sending or after the attachment is sent.
Declaration
public AIAssistViewAttachmentSettingsBuilder AttachmentClick(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
AttachmentTemplate(String)
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 AIAssistViewAttachmentSettingsBuilder AttachmentTemplate(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
MaxFileSize(Double)
Specifies the maximum file size allowed for attachments in bytes.
Declaration
public AIAssistViewAttachmentSettingsBuilder MaxFileSize(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MaximumCount(Double)
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 AIAssistViewAttachmentSettingsBuilder MaximumCount(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
RemoveUrl(String)
Specifies the URL to remove the files from the server.
Declaration
public AIAssistViewAttachmentSettingsBuilder RemoveUrl(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
SaveUrl(String)
Specifies the URL to save the uploaded files.
Declaration
public AIAssistViewAttachmentSettingsBuilder SaveUrl(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns