mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
859 B
859 B
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
upload.file | File content. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/upload_file.html |
Constructor: upload.file
File content.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
type | storage.FileType | Yes | File type |
mtime | int | Yes | Modification time |
bytes | bytes | Yes | Binary data, file content |
Type: upload.File
Example:
$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes'];