| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class InputMediaDocumentType extends InputMediaType |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. |
||
| 18 | * A thumbnail‘s width and height should not exceed 90. |
||
| 19 | * Ignored if the file is not uploaded using multipart/form-data. |
||
| 20 | * Thumbnails can’t be reused and can be only uploaded as a new file, |
||
| 21 | * so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using |
||
| 22 | * multipart/form-data under <file_attach_name>. |
||
| 23 | * |
||
| 24 | * @var InputFileType|string|null |
||
| 25 | */ |
||
| 26 | public $thumb; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * InputMediaDocumentType constructor. |
||
| 30 | */ |
||
| 31 | public function __construct() |
||
| 36 |