1111class Audio (TelegramBotsObject , ClientTargetable ):
1212 # --- description here ---
1313 """This object represents an audio file to be treated as music by the Telegram clients.
14-
14+
1515 More info at: https://core.telegram.org/bots/api/#audio
1616 """
1717
@@ -20,35 +20,48 @@ class Audio(TelegramBotsObject, ClientTargetable):
2020 """Identifier for this file, which can be used to download or reuse the file
2121 """
2222
23- file_unique_id : str = field (metadata = {"ac_type" : [str ], "ac_name" : "file_unique_id" })
23+ file_unique_id : str = field (
24+ metadata = {"ac_type" : [str ], "ac_name" : "file_unique_id" }
25+ )
2426 """Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
2527 """
2628
2729 duration : int = field (metadata = {"ac_type" : [int ], "ac_name" : "duration" })
2830 """Duration of the audio in seconds as defined by sender
2931 """
3032
31- performer : Optional [str ] = field (default = None , metadata = {"ac_type" : [str ], "ac_name" : "performer" })
33+ performer : Optional [str ] = field (
34+ default = None , metadata = {"ac_type" : [str ], "ac_name" : "performer" }
35+ )
3236 """*Optional*. Performer of the audio as defined by sender or by audio tags
3337 """
3438
35- title : Optional [str ] = field (default = None , metadata = {"ac_type" : [str ], "ac_name" : "title" })
39+ title : Optional [str ] = field (
40+ default = None , metadata = {"ac_type" : [str ], "ac_name" : "title" }
41+ )
3642 """*Optional*. Title of the audio as defined by sender or by audio tags
3743 """
3844
39- file_name : Optional [str ] = field (default = None , metadata = {"ac_type" : [str ], "ac_name" : "file_name" })
45+ file_name : Optional [str ] = field (
46+ default = None , metadata = {"ac_type" : [str ], "ac_name" : "file_name" }
47+ )
4048 """*Optional*. Original filename as defined by sender
4149 """
4250
43- mime_type : Optional [str ] = field (default = None , metadata = {"ac_type" : [str ], "ac_name" : "mime_type" })
51+ mime_type : Optional [str ] = field (
52+ default = None , metadata = {"ac_type" : [str ], "ac_name" : "mime_type" }
53+ )
4454 """*Optional*. MIME type of the file as defined by sender
4555 """
4656
47- file_size : Optional [int ] = field (default = None , metadata = {"ac_type" : [int ], "ac_name" : "file_size" })
57+ file_size : Optional [int ] = field (
58+ default = None , metadata = {"ac_type" : [int ], "ac_name" : "file_size" }
59+ )
4860 """*Optional*. File size in bytes
4961 """
5062
51- thumb : Optional [PhotoSize ] = field (default = None , metadata = {"ac_type" : [PhotoSize ], "ac_name" : "thumb" })
63+ thumb : Optional [PhotoSize ] = field (
64+ default = None , metadata = {"ac_type" : [PhotoSize ], "ac_name" : "thumb" }
65+ )
5266 """*Optional*. Thumbnail of the album cover to which the music file belongs
5367 """
54-
0 commit comments