> For the complete documentation index, see [llms.txt](https://help.plusra.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.plusra.jp/reference/limits.md).

# メッセージ・ボタン・画像の上限

メッセージ数・ボタン数・文字数・カルーセルの枚数・画像や動画のサイズなど、自動返信で設定できる上限をまとめています。

自動返信を作るとき、各項目には決められた上限があります。作成する前の目安として使ってください。

## メッセージ

自動返信は、1通目のDMと、ボタンでつなげた次のDMからできています。上限はDM1通ごとに数えます。

| 項目               | 上限 |
| ---------------- | -- |
| 1通のDMに設定できるメッセージ | 5件 |

{% hint style="info" %}
ボタンで次のDMをつなげれば、やり取りはさらに続けられます。
{% endhint %}

{% hint style="warning" %}
**投稿コメント・ライブコメントは、1通目に入れられるメッセージが1件まで**

コメントに反応して最初に送るDMには、メッセージを1件しか入れられません（Instagramの仕様）。続きを送りたいときは、1通目にボタンを付けて次のDMをつなげます。つなげた先のDMには、ほかのトリガーと同じくメッセージを5件まで入れられます（[ボタンを押した人に次のDMを送る](/how-to/messages/next-dm.md)）。
{% endhint %}

メッセージの形式ごとの上限は次のとおりです。

### テキスト

| 項目         | 上限     |
| ---------- | ------ |
| 文字数（ボタンなし） | 1,000字 |
| 文字数（ボタンあり） | 640字   |

### カルーセル

| 項目           | 上限  |
| ------------ | --- |
| カードの枚数       | 10枚 |
| カードのタイトルの文字数 | 80字 |
| カードの説明文の文字数  | 80字 |

### メディア

| 種類 | 対応形式            | サイズの上限 |
| -- | --------------- | ------ |
| 画像 | PNG・JPEG        | 8MB    |
| 動画 | MP4・MOV・WEBM    | 25MB   |
| 音声 | AAC・M4A・WAV・MP4 | 25MB   |

## ボタン

| 項目                | 上限  |
| ----------------- | --- |
| 1つのメッセージに設定できるボタン | 3個  |
| ボタンの文字数           | 20字 |

ボタンはテキストとカルーセルに付けられます（カルーセルはカードごと）。メディアには付けられません。

## キーワード

| 項目           | 上限  |
| ------------ | --- |
| 設定できるキーワードの数 | 20個 |
| 1つのキーワードの文字数 | 30字 |

## 関連ガイド

* [メッセージを作成する](/how-to/messages.md)
* [ボタンを設定する](/how-to/messages/buttons.md)
* [キーワードと一致条件](/reference/trigger-options/keywords.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.plusra.jp/reference/limits.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
