Rich messages

InputRichBlockTable

A table, corresponding to the HTML tag <table>.

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “table”
cellsRichBlockTableCell[][]requiredCells of the table
is_borderedbooleanoptionalOptional. Pass True if the table has borders
is_stripedbooleanoptionalOptional. Pass True if the table is striped
is_compactbooleanoptionalOptional. Pass True if table cells must have smaller indents
captionRichTextoptionalOptional. Caption of the table

import

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

used by

types