POST/bots/{botId}/richmenus/{richmenuId}/image
Bot のリッチメニューに画像を登録する。
コンテンツアップロード でアップロードされた画像のファイル ID を指定する。
リッチメニュー画像の条件
参照
リッチメニューの画像はモバイル版アプリでのみ表示され、PC 版アプリおよびブラウザでは label に入力したテキスト情報が表示される。
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 |
| 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 : ja_JP, ko_KR, 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