Update `room_messages` docstring to reflect actual state of the API.

master
Denis Kasak 2020-10-12 21:18:51 +02:00
parent 4ec7aff301
commit e0ee03fa6f
1 changed files with 3 additions and 6 deletions

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
///