IConversation.php 521 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Talk;
  8. /**
  9. * @since 24.0.0
  10. */
  11. interface IConversation {
  12. /**
  13. * Get the unique token that identifies this conversation
  14. *
  15. * @return string
  16. * @since 26.0.0
  17. */
  18. public function getId(): string;
  19. /**
  20. * Get the absolute URL to this conversation
  21. *
  22. * @return string
  23. * @since 24.0.0
  24. */
  25. public function getAbsoluteUrl(): string;
  26. }