Type Alias: SlackFile
type SlackFile: SlackFileViaUrl | SlackFileViaId;
Description
Defines an object containing Slack file information to be used in an image block or image element.
This file https://api.slack.com/types/file must be an image and you must provide either the URL or ID. In addition,
the user posting these blocks must have access to this file. If both are provided then the payload will be rejected.
Currently only png
, jpg
, jpeg
, and gif
Slack image files are supported.