pub async fn read_marker(
        &self,
        room_id: &RoomId,
        fully_read: &EventId,
        read_receipt: Option<&EventId>,
    ) -> Result<set_read_marker::Response> {
        let request = assign!(set_read_marker::Request::new(room_id, fully_read), {
            read_receipt
        });
        self.send(request).await
    }
/// Send a request to notify the room user has read up to specific event.
///
/// Returns a `set_read_marker::Response`, an empty response.
///
/// # Arguments
///
/// * room_id - The `RoomId` the user is currently in.
///
/// * fully_read - The `EventId` of the event the user has read to.
///
/// * read_receipt - An `EventId` to specify the event to set the read receipt on.
Send a request to notify the room user has read up to specific event.
Returns a `set_read_marker::Response`, an empty response.
Send a request to notify the room user has read up to specific event . Returns a ` set_read_marker :: Response ` an empty response .
pub async fn read_marker(
        &self,
        room_id: &RoomId,
        fully_read: &EventId,
        read_receipt: Option<&EventId>,
    ) -> Result<set_read_marker::Response> {
        let request = assign!(set_read_marker::Request::new(room_id, fully_read), {
            read_receipt
        });
        self.send(request).await
    }
pub async fn read_marker ( & self , room_id : & RoomId , fully_read : & EventId , read_receipt : Option < & EventId > , ) -> Result < set_read_marker :: Response > { let request = assign ! ( set_read_marker Request new ( room_id fully_read ) { read_receipt } ) ; self . send ( request ) . await }
Send a request to notify the room user has read up to specific event.
Send a request to notify the room user has read up to specific event .
&self
room_id
&RoomId
fully_read
&EventId
read_receipt
Option<&EventId>
&self
room_id
&RoomId
fully_read
&EventId
read_receipt
Option<&EventId>