@slack/web-api / RichTextText
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:740
A generic text element for use in a rich text message.
optional style: object;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:75
optional bold: boolean;When true, boldens the text in this element. Defaults to false.
optional code: boolean;When true, the text is preformatted in an inline code style. Defaults to `false.
optional italic: boolean;When true, italicizes the text in this element. Defaults to false.
optional strike: boolean;When true, strikes through the text in this element. Defaults to false.
A limited style object for styling rich text text elements.
text: string;Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:748
The text to render.
type: "text";Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:744
The type of element. In this case type is always text.