Line 機器人開發中,有一個功能是添加不同的圖文選單。可以依據不同場景、不同用戶客製化內容:
Using rich menus
The LINE Developers site is a portal site for developers. It contains documents and tools that will help you use our various developer products. Creating LINE Login and Messaging API applications and …
其中有一個 Set the default rich menu 的功能,他和 Link rich menu to user 會互動的不是很好,如果使用這兩支 API 來作為單一用戶的場景切換,很容易造成用戶需要離開當下對話視窗再重新進來才能生效。不如統一使用 Link rich menu to user 方法處理切換即可。
參考:
Using rich menus
The LINE Developers site is a portal site for developers. It contains documents and tools that will help you use our various developer products. Creating LINE Login and Messaging API applications and …