Defines the fluent API for configuring ChatFileAttachmentRestrictionsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatFileAttachmentRestrictionsSettingsBuilder
Inheritance: objectChatFileAttachmentRestrictionsSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the ChatFileAttachmentRestrictionsSettingsBuilder class.
public ChatFileAttachmentRestrictionsSettingsBuilder(ChatFileAttachmentRestrictionsSettings container)
Properties
protected ChatFileAttachmentRestrictionsSettings Container { get; }
Methods
Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).
public ChatFileAttachmentRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
The value for AllowedExtensions
Returns:ChatFileAttachmentRestrictionsSettingsBuilder
Returns the current ChatFileAttachmentRestrictionsSettingsBuilder instance.
Maximum allowed file size in bytes.
public ChatFileAttachmentRestrictionsSettingsBuilder MaxFileSize(double value)
The value for MaxFileSize
Returns:ChatFileAttachmentRestrictionsSettingsBuilder
Returns the current ChatFileAttachmentRestrictionsSettingsBuilder instance.
Minimum allowed file size in bytes.
public ChatFileAttachmentRestrictionsSettingsBuilder MinFileSize(double value)
The value for MinFileSize
Returns:ChatFileAttachmentRestrictionsSettingsBuilder
Returns the current ChatFileAttachmentRestrictionsSettingsBuilder instance.