1 | <?php |
||
16 | class Audio extends TelegramTypes |
||
17 | { |
||
18 | /** |
||
19 | * Unique identifier for this file |
||
20 | * @var string |
||
21 | */ |
||
22 | public $file_id = ''; |
||
23 | |||
24 | /** |
||
25 | * Duration of the audio in seconds as defined by sender |
||
26 | * @var int |
||
27 | */ |
||
28 | public $duration = 0; |
||
29 | |||
30 | /** |
||
31 | * Optional. Performer of the audio as defined by sender or by audio tags |
||
32 | * @var string |
||
33 | */ |
||
34 | public $performer = ''; |
||
35 | |||
36 | /** |
||
37 | * Optional. Title of the audio as defined by sender or by audio tags |
||
38 | * @var string |
||
39 | */ |
||
40 | public $title = ''; |
||
41 | |||
42 | /** |
||
43 | * Optional. MIME type of the file as defined by sender |
||
44 | * @var string |
||
45 | */ |
||
46 | public $mime_type = ''; |
||
47 | |||
48 | /** |
||
49 | * Optional. File size |
||
50 | * @var int |
||
51 | */ |
||
52 | public $file_size = 0; |
||
53 | |||
54 | /** |
||
55 | * Optional. Thumbnail of the album cover to which the music file belongs |
||
56 | * @var PhotoSize |
||
57 | */ |
||
58 | public $thumb; |
||
59 | |||
60 | protected function mapSubObjects(string $key, array $data): TelegramTypes |
||
69 | } |
||
70 |