Skip to main content

send_delayed_event_route

Function send_delayed_event_route 

Source
pub(crate) async fn send_delayed_event_route(
    __arg0: State<State>,
    path: MatchedPath,
    body: Ruma<Request>,
) -> Result<Response>
Expand description

ยงPUT /_matrix/client/unstable/org.matrix.msc4140/rooms/{roomId}/delayed_event/{eventType}/{txnId}

Schedules an event to be sent after delay_ms (MSC4140).

A state_key in the body makes it a state event. The stable path answers with the stable error codes.