Skip to main content

@slack/web-api / PlainTextElement

Interface: PlainTextElement

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:125

Description​

Defines an object containing some text.

See​

Text object reference.

Properties​

emoji?​

optional emoji?: boolean;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:137

Description​

Indicates whether emojis in a text field should be escaped into the colon emoji format.


text​

text: string;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:133

Description​

The text for the block. The minimum length is 1 and maximum length is 3000 characters.


type​

type: "plain_text";

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:129

Description​

The formatting to use for this text object.