docs: documentation for every endpoint

This commit is contained in:
Timo Kösters
2021-08-31 19:14:37 +02:00
parent 364820aae4
commit b9eb39a9c6
35 changed files with 847 additions and 93 deletions

View File

@@ -5,6 +5,9 @@ use ruma::api::client::r0::typing::create_typing_event;
#[cfg(feature = "conduit_bin")]
use rocket::put;
/// # `PUT /_matrix/client/r0/rooms/{roomId}/typing/{userId}`
///
/// Sets the typing state of the sender user.
#[cfg_attr(
feature = "conduit_bin",
put("/_matrix/client/r0/rooms/<_>/typing/<_>", data = "<body>")