Skip to main content

send_event_to_device_handler

Function send_event_to_device_handler 

Source
async fn send_event_to_device_handler(
    state: State<ServerState>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, SendEventToDeviceError>
Expand description

Handler for PUT /_matrix/client/v3/sendToDevice/{eventType}/{txnId} (See https://spec.matrix.org/v1.15/client-server-api/#put_matrixclientv3sendtodeviceeventtypetxnid)

Endpoint for sending events to one or more devices directly.