> For the complete documentation index, see [llms.txt](https://documentation.botghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.botghost.com/custom-commands-and-events/actions/message-actions/send-or-edit-a-message/content.md).

# Content

Content components define what appears visually inside your message - including text, media, and files.\
They represent the main body of your message and are used to display information to users.

### Component Overview

| Component                       | Description                      |
| ------------------------------- | -------------------------------- |
| [Text Display](#text-display)   | Markdown text content            |
| [Media Gallery](#media-gallery) | Multiple images in a grid layout |
| [File](#file)                   | Display for attached files       |

***

## Text Display

<figure><img src="/files/d6yPnBruYHOVOOMHY9mR" alt=""><figcaption></figcaption></figure>

Text Displays are used to show formatted text within a message. They support Discord Markdown, mentions, emojis, and variables.

<figure><img src="/files/RQDMaAJ1ERht5SlFPY9a" alt=""><figcaption></figcaption></figure>

### Content

Enter the text to display. Supports Markdown formatting and variables.

<figure><img src="/files/p837xSDrkOeVUXwHxT1H" alt=""><figcaption></figcaption></figure>

### Character Limit

The character limit for a Text Display is 4000 characters.

***

## Media Gallery

<figure><img src="/files/Su9A6lURgh9ETp6037hr" alt=""><figcaption></figcaption></figure>

The Media Gallery component lets you display **multiple images** in a grid layout, ideal for showing collections, previews, or thumbnails.

<figure><img src="/files/TwKaDlUsbWPnXIzWzTUb" alt=""><figcaption></figcaption></figure>

### **Images**

Add one or more image URLs or variables returning image links.

<figure><img src="/files/Jyy7UgN8GxDJph5AwWE1" alt=""><figcaption></figcaption></figure>

### Image Description

Optional text shown as the image description or alternative text. Supports variables.

<figure><img src="/files/9bdxMeJRBo4S7HfYbEpp" alt=""><figcaption></figcaption></figure>

### Spoiler

If this value is set to `true`, the Images will appear as a spoiler (blurred until revealed). Defaults to false, Variables can be used here.

<figure><img src="/files/6D4Q5SGSRBQbE1g30Ozt" alt=""><figcaption></figcaption></figure>

### Image Limit

The Image Limit for a Media Gallery is 10 images.

***

## File

<figure><img src="/files/KRTWQYkTnWsrAF3awATh" alt=""><figcaption></figcaption></figure>

The File component lets you attach files to a message, ideal for sharing documents, archives, or other downloadable content.

<figure><img src="/files/jbl3BiOFefhd7TdS93oB" alt=""><figcaption></figcaption></figure>

### File

Provide a direct file URL or upload a file. Variables that return a file URL can also be used.

<figure><img src="/files/fl4ps2BDI2Tn0ZdqdpG6" alt=""><figcaption></figcaption></figure>

### Spoiler

If this value is set to `true`, the File will appear as a spoiler (blurred until revealed). Defaults to false, Variables can be used here.

<figure><img src="/files/MACDOenSAZbd2zm7fyKF" alt=""><figcaption></figcaption></figure>

### Storage

Uploaded files are securely stored on **BotGhost’s S3 servers**.

### File Information

Discord automatically detects and displays the file type.\
The file name and size are extracted automatically.
