修改托管账号在群聊中的昵称
POST
/api/v2/groupChat/self/alias
请求参数
Query 参数
token
string
企业级接口调用凭证
Body 参数application/json
imBotId
string
必需
imRoomId
string
必需
alias
string
必需
示例
{
"imBotId": "string",
"imRoomId": "string",
"alias": "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/v2/groupChat/self/alias?token=' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
必需
示例
{
"errcode": 0,
"errmsg": "ok"
}
修改于 2024-09-19 09:27:14