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>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
caption? | TelegramRichBlockCaption | Optional. 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_note | TelegramInputMediaVoiceNote | The voice note. Caption is ignored. | @gramio/types/out/objects.d.ts:8920 |