Update room_messages docstring to reflect actual state of the API.

This commit is contained in:
Denis Kasak 2020-10-12 21:18:51 +02:00
parent 4ec7aff301
commit e0ee03fa6f

View file

@ -871,12 +871,9 @@ impl Client {
self.send(request).await
}
/// Get messages starting at a specific sync point using the
/// `MessagesRequestBuilder`'s `from` field as a starting point.
///
/// Sends a request to `/_matrix/client/r0/rooms/{room_id}/messages` and
/// returns a `get_message_events::Response` that contains chunks
/// of `RoomEvents`.
/// Sends a request to `/_matrix/client/r0/rooms/{room_id}/messages` and returns
/// a `get_message_events::Response` that contains a chunk of room and state events
/// (`AnyRoomEvent` and `AnyStateEvent`).
///
/// # Arguments
///