Skip to main content

send_state_event_handler

Function send_state_event_handler 

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

Handler for PUT /_matrix/client/v3/rooms/{roomId}/state/{eventType}/{stateKey} (See https://spec.matrix.org/latest/client-server-api/#put_matrixclientv3roomsroomidstateeventtypestatekey).

Endpoint used to send a state event in a room.