GET/bots/{botId}/richmenus/{richmenuId}/image

Bot のリッチメニュー画像のファイル ID を取得する。
取得したファイル ID の画像データは、コンテンツダウンロード を使用してダウンロードできる。

Authorization

oauth2

Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。

Scope

bot.message
bot
bot.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/bots/{botId}/richmenus/{richmenuId}/image

Path Parameters

ParameterTypeDescription
botId integer 

Bot ID


required
example : 2000001
format : int64 
richmenuId string 

リッチメニュー ID


required
example : 40001 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
fileId string 

リッチメニューの画像ファイル ID


required 
i18nFileIds array (i18nFileIds) 

多言語ファイル ID リスト


minItems : 0 

i18nFileIds

PropertyTypeDescription
language string 

多国語言語コード


required
Allowed values : ja_JP, ko_KR, en_US, zh_CN, zh_TW 
fileId string 

ファイル ID


required 

Response Example

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}