修改API配置信息
POST
/api/v1/instantReply/mhAPI/update
请求参数
Query 参数
token
string
调用接口凭证
Body 参数application/json
groupId
string
小组id
externalEndpoint
string
回调地址,用于接收小组级回调接口的地址
relatedOnly
boolean
仅推送相关消息
ignoreHello
boolean
忽略加好友打招呼
sendFriendConfirm
boolean
发送确认
sentResultNotify
boolean
发送结果通知
botMessage
boolean
推送账号自己的消息
示例
{
"groupId": "string",
"externalEndpoint": "string",
"relatedOnly": true,
"ignoreHello": true,
"sendFriendConfirm": true,
"sentResultNotify": true,
"botMessage": true
}
示例代码
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/mhAPI/update?token=' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
errcode
number
返回码
errmsg
string