@slack/web-api / ImageElement
Type Alias: ImageElement
type ImageElement = object &
| UrlImageObject
| SlackFileImageObject;
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:143
Type declaration
alt_text
alt_text: string;
Description
A plain-text summary of the image. This should not contain any markup.
type
type: "image";
Description
The type of element. In this case type
is always image
.
Description
Displays an image as part of a larger block of content. Use this image
block if you want a block with
only an image in it.