Skip to main content

Interface: PlainTextElement

Description

Defines an object containing some text.

See

Text object reference.

Properties

emoji?

optional emoji: boolean;

Description

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

Defined in

block-kit/composition-objects.ts:150


text

text: string;

Description

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

Defined in

block-kit/composition-objects.ts:146


type

type: "plain_text";

Description

The formatting to use for this text object.

Defined in

block-kit/composition-objects.ts:142