From 60fe0d7fc4fb6fc0e6d0f9d905bd2ef340d22574 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Mon, 2 Sep 2019 14:56:50 +0200
Subject: [PATCH] Define a guest type so Talk can use it in it's notifications

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 lib/public/RichObjectStrings/Definitions.php | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index 69cabe638ad..3476777e0db 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -268,6 +268,25 @@ class Definitions {
 				],
 			],
 		],
+		'guest' => [
+			'author' => 'Nextcloud',
+			'app' => 'spreed',
+			'since' => '17.0.0',
+			'parameters' => [
+				'id' => [
+					'since' => '17.0.0',
+					'required' => true,
+					'description' => 'The id used to identify the guest user',
+					'example' => '42',
+				],
+				'name' => [
+					'since' => '17.0.0',
+					'required' => true,
+					'description' => 'Potential displayname of the guest user',
+					'example' => 'Foobar Cats',
+				],
+			],
+		],
 		'highlight' => [
 			'author' => 'Nextcloud',
 			'app' => 'core',
-- 
GitLab