Rich messages

RichBlockListItem

An item of a list.

fields

fieldtyperequireddescription
labelstringrequiredLabel of the item
blocksRichBlock[]requiredThe content of the item
has_checkboxbooleanoptionalOptional. True, if the item has a checkbox
is_checkedbooleanoptionalOptional. True, if the item has a checked checkbox
valuenumberoptionalOptional. For ordered lists, the numeric value of the item label
type"a" | "A" | "i" | "I"optionalOptional. For ordered lists, the type of the item label; must be one of “a” for lowercase letters, “A” for uppercase letters, “i” for lowercase Roman numerals, “I” for uppercase Roman numerals, or “1” for decimal numbers

import

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

used by

types