Skip to main content

set_read_marker_handler

Function set_read_marker_handler 

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

Handler for POST /_matrix/client/v3/rooms/{roomId}/read_markers (See https://spec.matrix.org/v1.17/client-server-api/#post_matrixclientv3roomsroomidread_markers).

This endpoints allows setting the position of the read marker for a given room, and optionally the read receipts location as well.