@slack/web-api / ImageBlock
Type Alias: ImageBlock
type ImageBlock = object & Block &
| UrlImageObject
| SlackFileImageObject;
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:119
Type declaration
alt_text
alt_text: string;
Description
A plain-text summary of the image. This should not contain any markup. Maximum length for this field is 2000 characters.
title?
optional title: PlainTextElement;
Description
An optional title for the image in the form of a PlainTextElement object. Maximum length for the text in this field is 2000 characters.
type
type: "image";
Description
The type of block. For an image block, type
is always image
.
Description
Displays an image. A simple image block, designed to make those cat photos really pop.