| mx_redact | R Documentation |
Removes the content of a message, reaction, or other event. This is how Matrix deletes things.
mx_redact(session, room_id, event_id, reason = NULL, txn_id = NULL)
session |
An "mx_session" object. |
room_id |
Character. The room ID. |
event_id |
Character. The event to redact. |
reason |
Character or NULL. Optional human-readable reason. |
txn_id |
Character or NULL. Transaction id (generated if NULL). |
The event ID of the redaction event.
## Not run:
mx_redact(s, "!abc:example", "$someevent", reason = "typo")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.