Skip to main content

@slack/web-api / EntityMetadata

Interface: EntityMetadata

Defined in: packages/types/dist/message-metadata.d.ts:26

Description​

Metadata that represents a work object entity.

Properties​

app_unfurl_url?​

app_unfurl_url?: string;

Defined in: packages/types/dist/message-metadata.d.ts:56

Description​

The exact URL posted in the source message. Required in metadata passed to chat.unfurl.


entity_payload​

entity_payload: object;

Defined in: packages/types/dist/message-metadata.d.ts:34

actions?​

actions?: object;
actions.overflow_actions?​
overflow_actions?: EntityActionButton[];
actions.primary_actions?​
primary_actions?: EntityActionButton[];

attributes​

attributes: EntityAttributes;

custom_fields?​

custom_fields?: EntityCustomField[];

display_order?​

display_order?: string[];

fields?​

fields?:
| ContentItemEntityFields
| FileEntityFields
| IncidentEntityFields
| TaskEntityFields;

slack_file?​

slack_file?: FileEntitySlackFile;

Description​

Schema for the given entity type.


entity_type​

entity_type: string;

Defined in: packages/types/dist/message-metadata.d.ts:30

Description​

Entity type.


external_ref​

external_ref: ExternalRef;

Defined in: packages/types/dist/message-metadata.d.ts:48

Description​

Reference (and optional type) used to identify an entity within the developer's system.


url​

url: string;

Defined in: packages/types/dist/message-metadata.d.ts:52

Description​

URL used to identify an entity within the developer's system.