Skip to main content

redact_event_handler

Function redact_event_handler 

Source
async fn redact_event_handler(
    room_server: RoomServerConnection,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, ErrorOf<RedactEvent>>
Expand description

Handler for PUT /_matrix/client/v3/rooms/{roomId}/redact/{eventId}/{txnId} (See https://spec.matrix.org/v1.16/client-server-api/#redactions).

This endpoint is used to redact an event in a room.