diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-10-31 11:44:39 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-10-31 11:44:39 +0100 |
commit | 06627c800c45672d57a255f494c5d47efd160aff (patch) | |
tree | b9e77b3d66f34626f73126a38f6a83e397f69549 /lib/public/Talk/IBroker.php | |
parent | 7c39e3e6bdae6dd70c804d1d4c5084ecc0b2ce54 (diff) | |
download | nextcloud-server-06627c800c45672d57a255f494c5d47efd160aff.tar.gz nextcloud-server-06627c800c45672d57a255f494c5d47efd160aff.zip |
Add Talk converstation delete API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Talk/IBroker.php')
-rw-r--r-- | lib/public/Talk/IBroker.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/public/Talk/IBroker.php b/lib/public/Talk/IBroker.php index d28771544c8..705c39d2c01 100644 --- a/lib/public/Talk/IBroker.php +++ b/lib/public/Talk/IBroker.php @@ -71,4 +71,15 @@ interface IBroker { public function createConversation(string $name, array $moderators, IConversationOptions $options = null): IConversation; + + /** + * Delete a conversation by id + * + * @param string $id conversation id + * + * @return void + * @throws NoBackendException when Talk is not available + * @since 26.0.0 + */ + public function deleteConversation(string $id): void; } |