mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 18:27:20 +01:00
25 lines
499 B
Markdown
25 lines
499 B
Markdown
---
|
|
title: messageMediaDocument
|
|
---
|
|
## Constructor: messageMediaDocument
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|document|[Document](../types/Document.md) | Required|
|
|
|caption|[string](../types/string.md) | Required|
|
|
|
|
|
|
|
|
### Type: [MessageMedia](../types/MessageMedia.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$messageMediaDocument = ['_' => messageMediaDocument', 'document' => Document, 'caption' => string, ];
|
|
``` |