Clear Room History
Cleans up a room, removing messages from the provided time range.
HTTP Method | URL | Requires Auth |
---|---|---|
|
|
Body Parameter
Key | Example Value | Description |
---|---|---|
|
| The room ID. |
|
| The end of time range of messages. |
|
| The start of the time range of messages. |
|
| Whether messages which land on the latest and oldest dates should be included. By default, the value is |
|
| Whether pinned messages should be deleted. By default, the value is |
|
| Whether to only delete files and keep messages intact. By default, the value is |
|
| Specific set of users whose content to delete. By default, the value is |
|
| The amount of messages to prune. By default, the value is |
|
| Determines if messages from discussions should be pruned. By default, the value is |
|
| Determines if messages from threads should be pruned. By default, the value is |
Example Call
Example Response
Change Log
Version | Description |
---|---|
0.64.0 | Added |
0.67.0 | Added fields |
Last updated