POST/bots/{botId}/richmenus/{richmenuId}/set-default
기본 리치 메뉴를 설정한다.
리치 메뉴는 다음과 같은 우선순위로 사용자에게 표시된다.
1.사용자 정의 리치 메뉴로 설정된 리치 메뉴 2.기본으로 설정된 리치 메뉴
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | 봇 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 | 봇 ID format : int64 |
| defaultRichmenuId | string | 기본으로 설정된 리치 메뉴의 ID readOnly : true |
example
1{2 "botId": 2000001,3 "defaultRichmenuId": "40001"4}