Add dev docs for Talk conversation deletion

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2022-10-31 13:50:02 +01:00
parent 5681131437
commit a03739ffc3

View File

@@ -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');