MadelineProto/docs/API_docs/constructors/inputMediaUploadedDocument.md

696 B

Constructor: inputMediaUploadedDocument

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 = ['file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ];