telegramx.js

RichBlockVoiceNote

interface

A block with a voice note, corresponding to the HTML tag .

Declaration

interface RichBlockVoiceNote 

Properties

captionproperty#
caption?: RichBlockCaption;

Optional. Caption of the block

typeproperty#
type: 'voice_note';

Type of the block, always "voice_note"

voice_noteproperty#
voice_note: Voice;

The voice note