RichBlockCaption
Caption of a rich formatted block.
fields
| field | type | required | description |
|---|---|---|---|
text | RichText | required | Block caption |
credit | RichText | optional | Optional. Block credit which corresponds to the HTML tag <cite> |
import
import type { RichBlockCaption } from "@yaebal/types";used by
types
- RichBlockAnimation
- RichBlockAudio
- RichBlockCollage
- RichBlockMap
- RichBlockPhoto
- RichBlockSlideshow
- RichBlockVideo
- RichBlockVoiceNote
official Bot API docs: https://core.telegram.org/bots/api/#richblockcaption