更改群名事件回调
POST
https://aa-hub.ddregion.com/room/topic
请求参数
Body 参数application/json
chatId
string
群聊的对话id
token
string
群聊所在小组接口调用凭证
botInfo
object
触发事件的托管账号信息
imBotId
string
托管账号的系统员工id
wecomUserId
string
托管账号企业微信员工id
nickName
string
托管账号的昵称
imRoomId
string
系统群聊id
topic
string
修改后的群名称
avatarUrl
string
群头像地址
ownerImContactId
string
群主的系统联系人id
groupId
string
群聊所属小组id
timestamp
string
BOT获取到同步信息的时间
示例
{
"chatId": "string",
"token": "string",
"botInfo": {
"imBotId": "string",
"wecomUserId": "string",
"nickName": "string"
},
"imRoomId": "string",
"topic": "string",
"avatarUrl": "string",
"ownerImContactId": "string",
"groupId": "string",
"timestamp": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://aa-hub.ddregion.com/room/topic' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-10-24 10:29:56