mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Add dev docs for Talk conversation deletion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user