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