POST/bots/{botId}/richmenus/{richmenuId}/set-default

기본 리치 메뉴를 설정한다.

리치 메뉴는 다음과 같은 우선순위로 사용자에게 표시된다.

1.사용자 정의 리치 메뉴로 설정된 리치 메뉴 2.기본으로 설정된 리치 메뉴

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.

Scope

bot.message
bot

HTTP Request

POSThttps://www.worksapis.com/v1.0/bots/{botId}/richmenus/{richmenuId}/set-default

Path Parameters

ParameterTypeDescription
botId integer 

봇 ID


required
example : 2000001
format : int64 
richmenuId string 

봇 리치 메뉴 ID


required
example : 40001 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 201

OK

PropertyTypeDescription
botId integer 

봇 ID


format : int64 
defaultRichmenuId string 

기본으로 설정된 리치 메뉴의 ID


readOnly : true 

Response Example

example

1{2  "botId": 2000001,3  "defaultRichmenuId": "40001"4}