diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-10-31 15:50:02 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-10-31 15:50:02 +0300 |
commit | a03739ffc3a6cdfa7ceb16c1f2b7cbe84464199a (patch) | |
tree | 599249d1492509b2de873430d5bdb01798f65a43 | |
parent | 5681131437f6014caf353a6b292f9555c14f9319 (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.rst | 12 |
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'); |