Context
A small row of muted text and images for metadata, like a byline or a timestamp.
context displays supplementary info below a section or message: a byline, a “last updated”
timestamp, reaction counts, or small avatars. Its elements render smaller and muted, and none of
them are clickable.
Fields
typestring
Always `context`.
stringelements(ImageElement | PlainTextElement | MrkdwnElement)[]
The row's content, in order. Slack allows up to 10 elements, mixing images and text freely.
(ImageElement | PlainTextElement | MrkdwnElement)[]block_id?string
A unique identifier for this block. Auto-generated if omitted. Maximum length is 255 characters.
stringEach image element is a small image object:
typestring
Always `image`.
stringimage_urlstring
A public URL to the image.
stringalt_textstring
A plain-text summary of the image, for screen readers. Should not contain markup.
stringText elements are ordinary text objects, mrkdwn or plain_text,
rendered smaller than a section’s text and in a muted color.
Examples
Text only
Multiple text elements
Slack lays text elements out left to right, wrapping to a new line when they don’t fit:
Mixed images and text
Images sit on the row’s baseline; several in a row hug together before the text that follows them.


