GET/bots/{botId}/attachments/{fileId}
봇의 파일이나 이미지를 다운로드한다.
참고
- API를 이용한 콘텐츠 다운로드 방법은 파일 업로드/다운로드를 참고한다.
- 콘텐츠 다운로드 시에는 auto redirect가 off 상태여야 한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | 봇 ID required example : 2000001 format : int64 |
| fileId | string | 파일 ID required example : jp1.1628695315008671000.1628781715.0.1000001.0.0.0 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
location 헤더에 요청에 해당하는 파일 접근 URL이 포함되어 반환된다.