# 主選單

### 什麼是主選單？ <a href="#id-1eae" id="id-1eae"></a>

> *商家可以透過設計主選單，將官網、最新消息等連結加入互動式型的選單。此功能只會於Line上的主選單(Rich Menu)顯示圖片，Facebook Messenger則是只會顯示文字選單。*

<figure><img src="/files/57pRaFBVIya7TYltF0nL" alt="" width="188"><figcaption></figcaption></figure>

> 💡此功能可同時適用於 LINE 及 Messenger兩平台，圖片僅呈現於Line平台

#### 1. 新增主選單 <a href="#cdea" id="cdea"></a>

主畫面→問答集，點擊主畫面中的問答集

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

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

### 2. 主選單基本設定 <a href="#id-95da" id="id-95da"></a>

{% hint style="info" %}

1. 於方框中輸入選單名稱
2. 選擇呈現於Line中的主選單模板
3. 按下右上方「確定」按鈕
   {% endhint %}

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

### 3. 設定主選單內容 <a href="#id-484d" id="id-484d"></a>

{% hint style="info" %}

```
1. 輸入主選單的Title，此Title會顯示於主選單圖片的下方
2. 上傳主選單的圖片
3. 設定回覆的內容
```

{% endhint %}

小提醒：主選單圖片檔案大小限制1MB以下，規格比例請參照 [主選單規格](https://drive.google.com/file/d/1veFn37d1Ugm9TdibWLCEJr8A496HDysW/view?usp=sharing) 文件，文件中提供數值作為參考輔助，實際只要比例正確即可

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

#### 4. 設定回覆內容

設定回覆內容可以綁定關鍵字觸發、回覆模組、連結網址、問答集以及測驗遊戲

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

> 💡小提醒：
>
> * 左方的手機預覽畫面可以看到設定完成的主選單
> * 手機上方的下拉選單，可以切換Line畫面及Messenger畫面
> * 最後要記得按下右上方「儲存」按鈕喔！

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

#### 5. 使用設定完成的主選單 <a href="#id-27b4" id="id-27b4"></a>

設定完後，回到主選單的列表中，將滑鼠移至預使用的主選單，按下「使用」的按鈕。

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

這樣就設定完成囉！

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

\
記得回到首頁發布聊天機器人唷。恭喜你！這樣就完成主選單的功能囉！

### 馬上註冊MantaGO吧！ <a href="#a633" id="a633"></a>

\ <br>


---

# 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://blog.mantago.cc/zh/gong-neng-xuan-dan/zhu-xuan-dan.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.
