FileRestrictions

public struct FileRestrictions

Details about file uploads allowed.

  • Maximum size of allowed uploads in megabytes (1024x1024).

    Declaration

    Swift

    public let allowedFileSize: Int32
  • Details of allowed file mime types.

    Declaration

    Swift

    public let allowedFileTypes: [AllowedFileType]
  • True iff attachment uploads are allowed. If false, no uploads are allowed.

    Declaration

    Swift

    public let isAttachmentsEnabled: Bool