peyk.platforms.telegram.types.rich_block_audio¶
Classes
|
A block with a music file, corresponding to the HTML tag . |
- class peyk.platforms.telegram.types.rich_block_audio.RichBlockAudio(audio: Audio | None = None)[source]¶
Bases:
objectA block with a music file, corresponding to the HTML tag .
- Variables:
type – Type of the block, always ‘audio’
audio (peyk.platforms.telegram.types.audio.Audio | None) – The audio
caption – Caption of the block