diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 9307dd66..a39a894c 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -1048,7 +1048,7 @@ impl Client { /// ); /// /// let txn_id = Uuid::new_v4(); - /// client.send(room_id, content, Some(txn_id)).await.unwrap(); + /// client.room_send(&room_id, content, Some(txn_id)).await.unwrap(); /// # }) /// ``` pub async fn room_send(