client-api: Add more docs to get_message_events::Requests constructors

This commit is contained in:
Jonas Platte 2022-07-19 18:04:11 +02:00
parent c97f5507b9
commit 3e34cda48a
No known key found for this signature in database
GPG key ID: AAA7A61F696C3E0C

View file

@ -112,6 +112,9 @@ pub mod v3 {
/// Creates a new `Request` with the given room ID and `dir` set to `Backward`.
///
/// If the returned request is sent without `from` being set, pagination will start at the
/// end of (the accessible part of) the room timeline.
///
/// # Example
///
/// ```rust
@ -126,6 +129,9 @@ pub mod v3 {
/// Creates a new `Request` with the given room ID and `dir` set to `Forward`.
///
/// If the returned request is sent without `from` being set, pagination will start at the
/// beginning of (the accessible part of) the room timeline.
///
/// # Example
///
/// ```rust