InputRichBlockVoiceNote¶
- class pyrogram.types.InputRichBlockVoiceNote[source]¶
A voice note block, corresponding to the HTML tag
<audio>.Displays a voice recording in the message.
- Parameters:
audio_id (
int) – Theidfield from anInputDocumentthat represents a voice note (a document with thevoiceattribute set).caption (
str|RichText, optional) – Caption of the block.