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) – The id field from an InputDocument that represents an audio file.

  • caption (str | RichText, optional) – Caption of the block.