导出会议聊天记录

最近更新时间:2025-01-08 14:46:24

我的收藏

接口描述

描述:企业开启聊天存档功能后,拥有会议管理权限的用户可以导出同企业下创建的会议的会中公共聊天内容。
支持的应用类型:自建应用。
自建应用权限点:管理企业会议详细信息、查看企业会议详细信息。
接口操作者权限点:需要具备企业管理员身份。
请求方式:GET
接口请求域名
https://api.meeting.qq.com/v1/meeting/{meeting_id}/im-details?operator_id={operator_id}&operator_id_type={operator_id_type}


输入参数

参数名称
必选
参数类型
参数描述
meeting_id
Integer
需要导出聊天记录的目标会议 ID。
operator_id
String
操作者 ID。
operator_id_type
Integer
操作者 ID 类型。
1:userid
sub_meeting_id
Integer
如果是周期性会议,传入子会议的会议 ID。

输出参数

参数名称
参数类型
参数描述
download_file
download_file 对象数组
聊天记录文件信息。

download_file 对象

参数名称
参数类型
参数描述
start_time
String
记录开始时间。
end_time
String
记录结束时间。
download_url
String
聊天记录文件下载链接。

错误码列表

说明:
更多错误码详见 公共错误码列表
状态码
错误码
错误描述
400
190004
meeting_id 为必选字段。
operator_id 为必选字段。
operator_id_type 参数只能为1。
AppId 无效。
400
190001
用户未注册。
400
500133
用户没有操作权限。
400
201003
会议信息不存在。
400
146000010
企业 ID 不匹配。

示例

输入示例

https://api.meeting.qq.com/v1/meeting/100001/im-details?operator_id=KM4**********&operator_id_type=1

输出示例

{
"download_file": [
{
"start_time": "1731057279",
"end_time": "1731057499",
"download_url": "https://xxxxxxxxxxxxxxxxxxxxxxxxxx"
}
]
}