Rich messages

InputRichBlockListItem

An item of a list to be sent.

fields

fieldtyperequireddescription
blocksInputRichBlock[]requiredThe content of the item
has_checkboxbooleanoptionalOptional. Pass True if the item has a checkbox
is_checkedbooleanoptionalOptional. Pass 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 { InputRichBlockListItem } from "@yaebal/types";

used by

types