Skip to content

GramIO API Reference / gramio/dist / TelegramInputRichBlockVoiceNote

Interface: TelegramInputRichBlockVoiceNote

Defined in: @gramio/types/out/objects.d.ts:8912

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

Documentation

Properties

PropertyTypeDescriptionDefined in
caption?TelegramRichBlockCaptionOptional. Caption of the block@gramio/types/out/objects.d.ts:8924
type"voice_note"Type of the block, always “voice_note”@gramio/types/out/objects.d.ts:8916
voice_noteTelegramInputMediaVoiceNoteThe voice note. Caption is ignored.@gramio/types/out/objects.d.ts:8920