Skip to main content
Module

x/slack_bolt/mod.ts>MessageAttachment

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
interface MessageAttachment
import { type MessageAttachment } from "https://deno.land/x/slack_bolt@1.0.0/mod.ts";

Properties

optional
blocks: (KnownBlock | Block)[]
optional
fallback: string
optional
color:
| "good"
| "warning"
| "danger"
| string
optional
pretext: string
optional
author_name: string
optional
author_icon: string
optional
title: string
optional
text: string
optional
fields: { title: string; value: string; short?: boolean; }[]
optional
image_url: string
optional
thumb_url: string
optional
ts: string
optional
actions: AttachmentAction[]
optional
callback_id: string
optional
mrkdwn_in: ("pretext" | "text" | "fields")[]