電商聊天機器⼈人
LINE Bot 實戰
Day 06
⽤用 Postman 建立圖⽂文選單(rich menu)
丁多安 Austin Ting
Review & Preview
• Day 01: 各種簡介

• Day 02: LINE Bot 的核⼼心 - Messaging API

• Day 03: LINE Bot 建立與 ngrok

• Day 04: 電商 LINE Bot 架構流程設計

• Day 05: Bottender
• 回顧⼀一般流程

• 辦⼀一個 LINE@ 客服帳號

• LINE 圖⽂文選單 介紹

• Postman 介紹

• ⽤用 Postman 建立 圖⽂文選單
圖⽂文選單 介紹
• 可以讓使⽤用者更更⽅方便便與 Bot 互動的選單

• 多元的 action 

• 可以在 LINE@ Manager 或 Messaging API 中設定

• ⽤用 Messaging API:

• JPEG or PNG

• 2500x1686 or 2500x843 pixels

• ⼩小於 1 MB
⽤用 Messaging API 建立 圖⽂文選單
• 新增圖⽂文選單:POST https://api.line.me/v2/bot/richmenu

• 上傳圖⽂文選單圖片:POST https://api.line.me/v2/bot/richmenu/
{richMenuId}/content

• 設定成預設的圖⽂文選單:POST https://api.line.me/v2/bot/user/all/
richmenu/{richMenuId} 

• ⽂文件:https://developers.line.me/en/docs/messaging-api/using-rich-
menus/
Postman 介紹
• https://www.getpostman.com

• 開發 API 神器

• Request 管理理
⽤用 Postman 建立 圖⽂文選單
– 今天⼜又要壓線了了嗎?
「有問題還是沒問題,那真是個問題」
參參考資料
• Source: LINE Developers, Retrieved October 8, 2018 

from https://developers.line.me/en/docs/messaging-api/using-rich-
menus/

• Source:Postman, Retrieved October 8, 2018 

from https://developers.line.me/en/docs/messaging-api/using-rich-
menus/

Day 06 - 用 Postman 建立圖文選單(rich menu)