消息附件下载

最后更新:2024/8/13

通过消息id下载消息中的附件文件。

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/chat/file/download

Query参数:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

{
  "msgid": "10961801845147103967_1720446801179",
  "file_location": "/attachment/20240101/wwbdd54ff475e88423/image/3bca8e065c2f7302d94536c2d6891393.jpg"
}
参数 类型 必填 说明
msgid string 会话消息id
file_location string 当消息中存在多个文件时需要传入需要下载的文件路径

返回值:

文件流

备注

该接口为特殊接口,需要联系运营开通使用。

基础频率

每企业调用不可超过60次/分钟。

results matching ""

    No results matching ""