Skip to main content

@slack/web-api / MessageAttachmentField

Interface: MessageAttachmentField

Defined in: node_modules/@slack/types/dist/message-attachments.d.ts:115

Description

A field object to include in a MessageAttachment.

See

Field objects reference.

Properties

short?

optional short: boolean;

Defined in: node_modules/@slack/types/dist/message-attachments.d.ts:129

Description

Indicates whether the field object is short enough to be displayed side-by-side with other field objects. Defaults to false.


title

title: string;

Defined in: node_modules/@slack/types/dist/message-attachments.d.ts:120

Description

Shown as a bold heading displayed in the field object. It cannot contain markup and will be escaped for you.


value

value: string;

Defined in: node_modules/@slack/types/dist/message-attachments.d.ts:124

Description

The text value displayed in the field object. It can be formatted as plain text, or with `mrkdwn` by using the mrkdwn_in option of MessageAttachment.