Rich messages

InputRichBlockVoiceNote

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

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “voice_note”
voice_noteInputMediaVoiceNoterequiredThe voice note. Caption is ignored.
captionRichBlockCaptionoptionalOptional. Caption of the block

import

types.ts
import type { InputRichBlockVoiceNote } from "@yaebal/types";

used by

types