Rich messages

RichBlockDetails

An expandable block for details disclosure, corresponding to the HTML tag <details>.

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “details”
summaryRichTextrequiredAlways shown summary of the block
blocksRichBlock[]requiredContent of the block
is_openbooleanoptionalOptional. True, if the content of the block is visible by default

import

types.ts
import type { RichBlockDetails } from "@yaebal/types";

used by

types