Rich messages

RichBlockTableCell

Cell in a table.

fields

fieldtyperequireddescription
textRichTextoptionalOptional. Text in the cell. If omitted, then the cell is invisible.
is_headerbooleanoptionalOptional. True, if the cell is a header cell
colspannumberoptionalOptional. The number of columns the cell spans if it is bigger than 1
rowspannumberoptionalOptional. The number of rows the cell spans if it is bigger than 1
align"left" | "center" | "right"requiredHorizontal cell content alignment. Currently, must be one of “left”, “center”, or “right”.
valign"top" | "middle" | "bottom"requiredVertical cell content alignment. Currently, must be one of “top”, “middle”, or “bottom”.

import

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

used by

types