client-api: Add more docs to get_message_events::Request
s constructors
This commit is contained in:
parent
c97f5507b9
commit
3e34cda48a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user