ProcessCustomIMCallback
服务地址:
华东2(上海)
输入参数
只看必填
AccessChannelId网络业务渠道ID
ConversationId会话id
SenderId消息发送者用户ID
SenderName发送者名称
RequestId请求ID
InstanceId实例ID
SenderAvatarMediaId头像id
MessageContent消息内容
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求参数

字段名称字段详情
AccessChannelIdstring

网络业务渠道 ID。

示例值:cf584733-***-***-9699-cb77aa3b7aa6
ConversationIdstring

会话 id

示例值:d165de4f-9851-445e-9535-66ebfa72fa51
SenderIdstring

消息发送者用户 ID。

示例值:63061274befd6b545aab4c83
SenderNamestring

发送者名称。

示例值:tom
RequestIdstring

请求 ID

示例值:03C67DAD-EB26-41D8-949D-9B0C470FB716
InstanceIdstring

实例 ID。

示例值:9cfad875-6260-4a53-ab6e-b13e3fb31f7d参考取值来源:
    ListInstances
SenderAvatarMediaIdstring

头像 id

示例值:xxxx
MessageContentstring

消息内容

示例值:消息内容,格式如下: 文本消息: { "contentType":"Text", "text":"你好 " } 图片消息: { "contentType":"Image", "mediaId": "xxx-xxx-xxx", "fileType": "png", "fileSize": 1233 } 视频消息: { "contentType":"Video", "mediaId": "xxx-xxx-xxx" "duration": 12, "fileSize": 1233, } 音频消息: { "contentType":"Audio", "mediaId": "xxx-xxx-xxx" "duration": 12, "fileSize": 1233 } 文件消息: { "contentType":"File", "mediaId": "xxx-xxx-xxx", "fileSize": 223232, "filename": "xyz. zip" }

返回参数

字段名称字段详情
JobIdstring

通话 ID。

示例值:chat-65382141036853491
RequestIdstring

请求 ID。

示例值:2778FA12-EDD6-42AA-9B15-AF855072E5E5
HttpStatusCodeinteger<int32>

HTTP 状态码

示例值:200
Codestring

响应码

示例值:OK
Messagestring

响应信息

示例值:
Paramsarray<string>

响应参数。

Datastring

数据。

示例值:
变更历史
变更时间变更内容概要操作
2025-02-07
新增OpenAPI,第三方IM消息回调