InputRichBlockAudio¶
- class pyrogram.types.InputRichBlockAudio[source]¶
An audio block, corresponding to the HTML tag
<audio>.Displays an audio file (music) in the message.
- Parameters:
audio_id (
int) – Theidfield from anInputDocumentthat represents an audio file.caption (
str|RichText, optional) – Caption of the block.