POST/bots/{botId}/richmenus/{richmenuId}/set-default
Sets the default rich menu.
The display priority of rich menus is as follows:
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| richmenuId | string | Bot's rich menu ID required example : 40001 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| botId | integer | Bot ID format : int64 |
| defaultRichmenuId | string | Default rich menu ID readOnly : true |
example
1{2 "botId": 2000001,3 "defaultRichmenuId": "40001"4}