mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 09:55:21 +00:00
17 lines
528 B
Python
17 lines
528 B
Python
from . import base
|
|
from . import fields
|
|
from . import mixins
|
|
|
|
|
|
class Audio(base.TelegramObject, mixins.Downloadable):
|
|
"""
|
|
This object represents an audio file to be treated as music by the Telegram clients.
|
|
|
|
https://core.telegram.org/bots/api#audio
|
|
"""
|
|
file_id: base.String = fields.Field()
|
|
duration: base.Integer = fields.Field()
|
|
performer: base.String = fields.Field()
|
|
title: base.String = fields.Field()
|
|
mime_type: base.String = fields.Field()
|
|
file_size: base.Integer = fields.Field()
|