Skip to main content

Overview

Mutes group members so that they cannot send group messages. For example, a group administrator can mute a specific member. Muted members can still receive group messages.

Request

Authentication Add authentication headers to the request. See Authentication

Method POST

Rate limit 100 requests/second

Endpoint https://API domain/apigateway/groups/group membermute/set

Content-Type application/json

Request Parameters

ParameterData TypeRequiredDescription
group_idstringYesGroup ID. Maximum length: 64 characters.
member_idsarrayYesIDs of group members to mute. Each ID can contain up to 32 characters.
is_muteintYes0 to unmute; 1 to mute.
mute_minuteintNoMute duration in minutes. The member is automatically unmuted when the duration expires. 0 indicates a permanent mute.

Request Example

POST /apigateway/groups/groupmembermute/set HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json

{
"group_id":"groupid1",
"member_ids":["member1","member2"]
"is_mute":1,
"mute_minute":10
}

Response Example

{
"code":0,
"msg":"sucess"
}