Skip to main content

@slack/types / RawTextElement

Interface: RawTextElement

Defined in: block-kit/composition-objects.ts:198

Description​

Defines an object containing some text.

See​

Text object reference.

Properties​

text​

text: string;

Defined in: block-kit/composition-objects.ts:206

Description​

The text for the block. The minimum length is 1 character.


type​

type: "raw_text";

Defined in: block-kit/composition-objects.ts:202

Description​

The formatting to use for this text object.