File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1515 *
1616 * @link https://core.telegram.org/bots/api#audio
1717 *
18- * @method string getFileId() Unique identifier for this file
19- * @method int getDuration() Duration of the audio in seconds as defined by sender
20- * @method string getPerformer() Optional. Performer of the audio as defined by sender or by audio tags
21- * @method string getTitle() Optional. Title of the audio as defined by sender or by audio tags
22- * @method string getMimeType() Optional. MIME type of the file as defined by sender
23- * @method int getFileSize() Optional. File size
18+ * @method string getFileId() Unique identifier for this file
19+ * @method int getDuration() Duration of the audio in seconds as defined by sender
20+ * @method string getPerformer() Optional. Performer of the audio as defined by sender or by audio tags
21+ * @method string getTitle() Optional. Title of the audio as defined by sender or by audio tags
22+ * @method string getMimeType() Optional. MIME type of the file as defined by sender
23+ * @method int getFileSize() Optional. File size
24+ * @method PhotoSize getThumb() Optional. Thumbnail of the album cover to which the music file belongs
2425 */
2526class Audio extends Entity
2627{
27-
28+ /**
29+ * {@inheritdoc}
30+ */
31+ protected function subEntities ()
32+ {
33+ return [
34+ 'thumb ' => PhotoSize::class,
35+ ];
36+ }
2837}
You can’t perform that action at this time.
0 commit comments