Rich messages

InputRichBlockDetails

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
blocksInputRichBlock[]requiredContent of the block
is_openbooleanoptionalOptional. Pass True if the content of the block is visible by default

import

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

used by

types