Rich messages

RichBlockPreformatted

A preformatted text block, corresponding to the nested HTML tags <pre> and <code>.

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “pre”
textRichTextrequiredText of the block
languagestringoptionalOptional. The programming language of the text

import

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

used by

types