Skip to main content

@slack/types / PlainTextElement

Interface: PlainTextElement

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

Description​

Defines an object containing some text.

See​

Text object reference.

Properties​

emoji?​

optional emoji?: boolean;

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

Description​

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


text​

text: string;

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

Description​

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


type​

type: "plain_text";

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

Description​

The formatting to use for this text object.