获取消息中的资源文件
GET {{base_url}}/im/v1/messages/:message_id/resources/:file_key?type=image
获取消息中的资源文件,包括音频,视频,图片和文件,暂不支持表情包资源下载。当前仅支持 100M 以内的资源文件的下载。
参考接口文档:获取消息中的资源文件
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
type | string | 资源类型,可选"image, file“; image对应消息中的 图片,富文本消息中的图片。 file对应消息中的 文件、音频、视频、(表情包除外) |