加入群聊
POST
/room/addMember
请求参数
Body 参数application/json
token
string
必需
botUserId
string
必需
contactWxid
string
必需
roomWxid
string
必需
示例
{
"token": "string",
"botUserId": "string",
"contactWxid": "string",
"roomWxid": "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 '/room/addMember' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
errcode
enum<number>
错误码
枚举值:
0-2-3-4-5-6-7-8-9-10-11
示例
{
"errcode": 0
}
修改于 2024-10-24 10:17:06