MadelineProto/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md

876 B

title description
inputMediaUploadedDocument inputMediaUploadedDocument attributes, type and example

Constructor: inputMediaUploadedDocument

Back to constructors index

Attributes:

Name Type Required
file InputFile Required
mime_type string Required
attributes Array of DocumentAttribute Required
caption string Required
stickers Array of InputDocument Optional

Type: InputMedia

Example:

$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, 'stickers' => [Vector t], ];