product:chat

Mute user

Mutes one or several users

Sends events:

  • user.muted
  • user.unmuted
post/moderation/mute

Request body

target_idsstring[]

User IDs to mute (if multiple users)

timeoutinteger required

Duration of mute in minutes

user_idstring

Response

Successful response

durationstring required
non_existing_usersstring[]

Example response

{
  "own_user": {
    "channel_mutes": [
      {
        "channel": {
          "config": {
            "partition_ttl": "24h"
          }
        }
      }
    ]
  }
}

Changes