RichBlockTableCell
Cell in a table.
fields
| field | type | required | description |
|---|---|---|---|
text | RichText | optional | Optional. Text in the cell. If omitted, then the cell is invisible. |
is_header | boolean | optional | Optional. True, if the cell is a header cell |
colspan | number | optional | Optional. The number of columns the cell spans if it is bigger than 1 |
rowspan | number | optional | Optional. The number of rows the cell spans if it is bigger than 1 |
align | "left" | "center" | "right" | required | Horizontal cell content alignment. Currently, must be one of “left”, “center”, or “right”. |
valign | "top" | "middle" | "bottom" | required | Vertical cell content alignment. Currently, must be one of “top”, “middle”, or “bottom”. |
import
import type { RichBlockTableCell } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblocktablecell