群聊转移群主
POST
/api/v1/instantReply/changeRoomOwner
请求参数
Query 参数
token
string
必需
Body 参数application/json
imRoomId
string
需要转让的群聊的id
imBotId
string
需要操作转让群主的托管账号id
newOwnerImContactId
string
转让的新群主id
示例
{
"imRoomId": "string",
"imBotId": "string",
"newOwnerImContactId": "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 '/api/v1/instantReply/changeRoomOwner?token' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
errcode
number
错误码
示例
{
"errcode": 0
}
修改于 2024-09-19 09:18:20