ChatFileAttachmentRestrictionsSettingsBuilder

Methods

AllowedExtensions(System.String[])

Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).

Parameters

value - System.String[]

The value for AllowedExtensions

RETURNS

Returns the current ChatFileAttachmentRestrictionsSettingsBuilder instance.

MaxFileSize(System.Double)

Maximum allowed file size in bytes.

Parameters

value - System.Double

The value for MaxFileSize

RETURNS

Returns the current ChatFileAttachmentRestrictionsSettingsBuilder instance.

MinFileSize(System.Double)

Minimum allowed file size in bytes.

Parameters

value - System.Double

The value for MinFileSize

RETURNS

Returns the current ChatFileAttachmentRestrictionsSettingsBuilder instance.