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, optional) – Theidfield from anInputDocumentthat represents a voice note (a document with thevoiceattribute set).voice (
str|InputMediaVoiceNote, optional) – The voice note to send, as a file identifier of an already uploaded file, a local path, an HTTP URL or anInputMediaVoiceNoteobject. Given instead of audio_id.caption (
str|RichText, optional) – Caption of the block.