| Total Complexity | 1 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class InputMediaAudioType extends InputMediaType |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. |
||
| 16 | * A thumbnail‘s width and height should not exceed 90. |
||
| 17 | * Ignored if the file is not uploaded using multipart/form-data. |
||
| 18 | * Thumbnails can’t be reused and can be only uploaded as a new file, |
||
| 19 | * so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using |
||
| 20 | * multipart/form-data under <file_attach_name>. |
||
| 21 | * |
||
| 22 | * @var InputFileType|string|null |
||
| 23 | */ |
||
| 24 | public $thumb; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Optional. Duration of the audio in seconds. |
||
| 28 | * |
||
| 29 | * @var int|null |
||
| 30 | */ |
||
| 31 | public $duration; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Optional. Performer of the audio. |
||
| 35 | * |
||
| 36 | * @var string|null |
||
| 37 | */ |
||
| 38 | public $performer; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Optional. Title of the audio. |
||
| 42 | * |
||
| 43 | * @var string|null |
||
| 44 | */ |
||
| 45 | public $title; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * InputMediaAudioType constructor. |
||
| 49 | */ |
||
| 50 | public function __construct() |
||
| 55 |