telegramx.js

RichBlockAudio

interface

A block with a music file, corresponding to the HTML tag .

Declaration

interface RichBlockAudio 

Properties

audioproperty#
audio: Audio;

The audio

captionproperty#
caption?: RichBlockCaption;

Optional. Caption of the block

typeproperty#
type: 'audio';

Type of the block, always "audio"