docs(crypto): Add missing documentation.

This commit is contained in:
Ivan Enderlin
2022-05-17 11:05:16 +02:00
parent c20349f46f
commit a024c9b268

View File

@@ -233,6 +233,11 @@ impl OlmMachine {
future_to_promise(async move { Ok(me.invalidate_group_session(&room_id).await?) })
}
/// Get to-device requests to share a group session with users in a room.
///
/// `room_id` is the room ID. `users` is an array of strings
/// representing user IDs. `encryption_settings` are an
/// `EncryptionSettings` object.
#[wasm_bindgen(js_name = "shareGroupSession")]
pub fn share_group_session(
&self,