Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/slack_web_api_client/block-kit/message-attachment.ts>MessageAttachment

Streamlined Slack Web API client for TypeScript
Go to Latest
interface MessageAttachment
import { type MessageAttachment } from "https://deno.land/x/slack_web_api_client@0.6.1/block-kit/message-attachment.ts";

Properties

optional
blocks: AnyMessageBlock[]
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")[]
optional
app_unfurl_url: string
optional
is_app_unfurl: boolean
optional
app_id: string
optional
bot_id: string
optional
preview: MessageAttachmentPreview