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, optional) – Theidfield from anInputDocumentthat represents an audio file.audio (
str|InputMediaAudio, optional) – The audio file to send, as a file identifier of an already uploaded file, a local path, an HTTP URL or anInputMediaAudioobject. Given instead of audio_id.caption (
str|RichText, optional) – Caption of the block.