| 1 | <?php |
||
| 16 | class Document extends TelegramTypes |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Unique identifier for this file |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $file_id = ''; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Optional. Document thumbnail as defined by sender |
||
| 26 | * @var PhotoSize |
||
| 27 | */ |
||
| 28 | public $thumb = null; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Optional. Original filename as defined by sender |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $file_name = ''; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Optional. MIME type of the file as defined by sender |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | public $mime_type = ''; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Optional. File size |
||
| 44 | * @var int |
||
| 45 | */ |
||
| 46 | public $file_size = 0; |
||
| 47 | |||
| 48 | protected function mapSubObjects(string $key, array $data): TelegramTypes |
||
| 57 | } |
||
| 58 |