GET/bots/{botId}/attachments/{fileId}
Downloads a file or an image of a bot.
Note
- For how to download content using the API, see Upload or Download Files.
- Auto redirect should be off when downloading content.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| fileId | string | File ID required example : jp1.1628695315008671000.1628781715.0.1000001.0.0.0 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
Returns the file access URL in the Location header.