Skip to main content

Interface: MessageAttachmentField

Defined in: message-attachments.ts:124

Description

A field object to include in a MessageAttachment.

See

Field objects reference.

Properties

short?

optional short: boolean;

Defined in: message-attachments.ts:138

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: message-attachments.ts:129

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: message-attachments.ts:133

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.