Skip to content

Commit 64beb0a

Browse files
authored
Merge pull request mattermost#724 from ZJvandeWeg/patch-1
Update docs regarding the Slack Attachment format
2 parents 3f87f45 + da4b80e commit 64beb0a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/developer/message-attachments.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
Message Attachments
22
-------------------
33

4-
Basic formatting such as bold and italic can be included in the ``text`` field of an integration’s payload by using markdown.
4+
A wide range of rich text formatting options, including bold, italic, headings, in-line images, and tables, can be used in integrations using `Mattermost markdown support <https://docs.mattermost.com/help/messaging/formatting-text.html>`_.
55

6-
For more advanced formatting, it is necessary to send an ``attachments`` array in the payload sent by an integration.
6+
For additional formatting options, and for compatibility with Slack non-markdown integrations, an ``attachments`` array can be sent by integrations and rendered by Mattermost.
7+
8+
Note: Attachment support is available for webhook integrations and not yet available for slash commands. `There is a Help Wanted issue available for community to add attachment support for slash commands <https://github.com/mattermost/platform/issues/4238>`_
79

810
---------------------------
911

0 commit comments

Comments
 (0)