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

x/slack_web_api_client/mod.ts>MessageAttachment

Streamlined Slack Web API client for TypeScript
Latest
interface MessageAttachment
Re-export
import { type MessageAttachment } from "https://deno.land/x/slack_web_api_client@1.1.2/mod.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
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
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
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