RichBlockDetails
An expandable block for details disclosure, corresponding to the HTML tag <details>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “details” |
summary | RichText | required | Always shown summary of the block |
blocks | RichBlock[] | required | Content of the block |
is_open | boolean | optional | Optional. True, if the content of the block is visible by default |
import
import type { RichBlockDetails } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockdetails