POST/bots/{botId}/richmenus/{richmenuId}/set-default
Bot にデフォルトリッチメニューを適用する。
リッチメニューは、次の優先順位でユーザーに表示される。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| richmenuId | string | リッチメニュー ID required example : 40001 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| botId | integer | Bot ID format : int64 |
| defaultRichmenuId | string | デフォルトリッチメニュー ID readOnly : true |
example
1{2 "botId": 2000001,3 "defaultRichmenuId": "40001"4}