Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-10-31 15:50:02 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-10-31 15:50:02 +0300
commita03739ffc3a6cdfa7ceb16c1f2b7cbe84464199a (patch)
tree599249d1492509b2de873430d5bdb01798f65a43
parent5681131437f6014caf353a6b292f9555c14f9319 (diff)
Add dev docs for Talk conversation deletion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--developer_manual/digging_deeper/talk.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/developer_manual/digging_deeper/talk.rst b/developer_manual/digging_deeper/talk.rst
index 60c85c77e..42a185244 100644
--- a/developer_manual/digging_deeper/talk.rst
+++ b/developer_manual/digging_deeper/talk.rst
@@ -61,3 +61,15 @@ It's possible to adjust the defaults.
[$alice, $bob],
$broker->newConversationOptions()->setPublic()
);
+
+Delete a conversation
+---------------------
+
+A conversation can be deleted by id (token).
+
+.. code-block:: php
+
+ <?php
+
+ /** @var \OCP\Talk\IBroker $broker */
+ $broker->deleteConversation('abc123');