2021-12-20 11:58:54 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2024-05-23 03:26:56 -04:00
|
|
|
/**
|
|
|
|
|
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2021-12-20 11:58:54 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OCP\Talk;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @since 24.0.0
|
|
|
|
|
*/
|
|
|
|
|
interface IConversation {
|
2022-10-31 06:44:39 -04:00
|
|
|
/**
|
|
|
|
|
* Get the unique token that identifies this conversation
|
|
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
* @since 26.0.0
|
|
|
|
|
*/
|
|
|
|
|
public function getId(): string;
|
|
|
|
|
|
2021-12-20 11:58:54 -05:00
|
|
|
/**
|
|
|
|
|
* Get the absolute URL to this conversation
|
|
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
* @since 24.0.0
|
|
|
|
|
*/
|
|
|
|
|
public function getAbsoluteUrl(): string;
|
|
|
|
|
}
|