Skip to main content

@slack/types / RawTextElement

Interface: RawTextElement

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

Description

Defines an object containing some text.

See

Text object reference.

Properties

text

text: string;

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

Description

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


type

type: "raw_text";

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

Description

The formatting to use for this text object.