# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.botghost.com/custom-commands-and-events/actions/message-actions/send-or-edit-a-message/content.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
