Rich messages

RichBlockSectionHeading

A section heading, corresponding to the HTML tags <h1>, <h2>, <h3>, <h4>, <h5>, or <h6>.

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “heading”
textRichTextrequiredText of the block
sizenumberrequiredRelative size of the text font; 1-6, 1 is the largest, 6 is the smallest

import

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

used by

types