Defines the fluent API for configuring the ChatFileAttachmentRestrictionsSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ChatFileAttachmentRestrictionsSettingsBuilder
Inheritance: objectChatFileAttachmentRestrictionsSettingsBuilder
Inherited Members
Constructors
Initialize the ChatFileAttachmentRestrictionsSettingsBuilder
C#
public ChatFileAttachmentRestrictionsSettingsBuilder(ChatFileAttachmentRestrictionsSettings settings)
Methods
Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).
C#
public ChatFileAttachmentRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
The value that configures the allowedextensions.
Returns:Maximum allowed file size in bytes.
C#
public ChatFileAttachmentRestrictionsSettingsBuilder MaxFileSize(double value)
The value that configures the maxfilesize.
Returns:Minimum allowed file size in bytes.
C#
public ChatFileAttachmentRestrictionsSettingsBuilder MinFileSize(double value)
The value that configures the minfilesize.
Returns: