RichBlockVoiceNote
A block with a voice note, corresponding to the HTML tag <audio>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “voice_note” |
voice_note | Voice | required | The voice note |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { RichBlockVoiceNote } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockvoicenote