API Overview
Message Callbacks
Status Codes
Overview
After group mute is enabled, group members cannot send messages to the group. Messages sent through Server APIs are not affected by group mute.
Request
Authentication Add authentication headers to the request. See Authentication
Method
POST
Rate limit
100 requests/second
Endpoint https://API domain/apigateway/groups/groupmute/set
Content-Type
application/json
Request Parameters
| Parameter | Data Type | Required | Description | |
|---|---|---|---|---|
group_id | string | Yes | Group ID. Maximum length: 64 characters. | |
is_mute | int | Yes | 0 to disable group mute; 1 to enable group mute. |
Request Example
POST /apigateway/groups/groupmute/set HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json
{
"group_id":"groupid1",
"is_mute":1
}
Response Example
{
"code":0,
"msg":"sucess"
}