MadelineProto/old_docs/API_docs_v45/constructors/messageMediaDocument.md

567 B

title description
messageMediaDocument messageMediaDocument attributes, type and example

Constructor: messageMediaDocument

Back to constructors index

Attributes:

Name Type Required
document Document Required
caption string Required

Type: MessageMedia

Example:

$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ];