Skip to content

GramIO API Reference / gramio/dist / TelegramInputRichBlockAudio

Interface: TelegramInputRichBlockAudio

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

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

Documentation

Properties

PropertyTypeDescriptionDefined in
audioTelegramInputMediaAudioThe audio. Caption is ignored.@gramio/types/out/objects.d.ts:8840
caption?TelegramRichBlockCaptionOptional. Caption of the block@gramio/types/out/objects.d.ts:8844
type"audio"Type of the block, always “audio”@gramio/types/out/objects.d.ts:8836