1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 14:06:55 +01:00
MadelineProto/docs/TD_docs/constructors/document.md

26 lines
692 B
Markdown
Raw Normal View History

---
title: document
description: Describes document of any type
---
## Constructor: document
[Back to constructors index](index.md)
Describes document of any type
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|file\_name|[string](../types/string.md) | Yes|Original name of a file as defined by sender|
|mime\_type|[string](../types/string.md) | Yes|MIME type of file as defined by sender|
2017-09-29 15:50:59 +02:00
|thumb|[photoSize](../constructors/photoSize.md) | Yes|Document thumb as defined by sender, nullable|
|document|[file](../constructors/file.md) | Yes|File with document|
### Type: [Document](../types/Document.md)