Link Search Menu Expand Document

Constructor: upload.file

Back to constructors index

File content.

Attributes:

NameTypeRequiredDescription
typestorage.FileTypeYesFile type
mtimeintYesModification time
bytesbytesYesBinary data, file content

Type: upload.File

Example:

$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes'];