AttachmentSettingsModel

16 Dec 20251 minute to read

Interface for a class AttachmentSettings

Properties

attachmentClick EmitType<AttachmentClickEventArgs>

Event raised when a attachment item is clicked in the assistview component either before sending or after the attachment is sent.

allowedFileTypes string

Specifies the allowed file types for attachments.

maxFileSize number

Specifies the maximum file size allowed for attachments in bytes.

maximumCount number

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.

removeUrl string

Specifies the URL to remove the files from the server.

saveUrl string

Specifies the URL to save the uploaded files.