POST/bots/{botId}/richmenus/{richmenuId}/image
업로드된 이미지를 리치 메뉴에 설정한다.
콘텐츠 업로드 API를 사용해 업로드된 이미지의 파일 ID를 사용한다.
리치 메뉴 이미지의 조건은 다음과 같다.
참고
리치 메뉴의 이미지는 모바일 환경에서만 표시되며, PC에서는 label에 입력한 텍스트 정보만 표시된다.
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 |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| fileId | string | 리치 메뉴 이미지 파일 ID required |
| i18nFileIds | array (i18nFileIds) | 다국어 파일 ID 목록 minItems : 0 |
| Property | Type | Description |
|---|---|---|
| language | string | 다국어 언어 코드 required Allowed values : ko_KR, ja_JP, en_US, zh_CN, zh_TW |
| fileId | string | 파일 ID required |
example
1{2 "fileId": "jp1.1628695315008671000.1628781715.0.1000001.0.0.0",3 "i18nFileIds": [4 {5 "language": "en_US",6 "fileId": "jp1.1628695315008671000.1628781715.0.1000001.0.0.0"7 }8 ]9}No Content