Suppress Message

Released prior to 1.43.
Suppress a message, preventing its contents from being displayed to users.

Suppressed Message Example

The following image shows how the UI represents a suppressed message.
The image on the left shows the original message before being suppressed. The image on the right shows how the message will be displayed after being suppressed.


As of Release v1.45, if the user attempts to suppress a message that has already been suppressed at an earlier point in time, the returned suppressionDate will have a value of 0, as shown below:


In addition, be aware that although the message is suppressed, the data from the original message will be in the Content Export (CE). When the CE exports a suppressed message, the following information are returned:

• Suppressed Message Content -> the content of the suppressed message.
• Suppressed Message Sent From -> user that sent the suppressed message.
• Suppressed Message Timestamp -> date when the message was suppressed.


Restricted Endpoint

  • Users can suppress their own messages only.
  • Users with the Content Management role can suppress any messages.
  • OBO: Please note that the SUPPRESS_MESSAGES permission is needed for Apps to call this endpoint via OBO.
  • Messages in External rooms cannot be suppressed.

See Bot Permissions for a list of roles and associated privileges.