]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add talk-poll to the ROS definitions 32336/head
authorJoas Schilling <coding@schilljs.com>
Wed, 11 May 2022 12:37:26 +0000 (14:37 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 11 May 2022 12:37:26 +0000 (14:37 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/public/RichObjectStrings/Definitions.php

index 676979170a6542af2bbd82e4289bb84be6e63a4b..383d626c155fc561959147eb699514cc3e6e75ac 100644 (file)
@@ -579,6 +579,25 @@ class Definitions {
                                ],
                        ],
                ],
+               'talk-poll' => [
+                       'author' => 'Nextcloud',
+                       'app' => 'talk',
+                       'since' => '25.0.0',
+                       'parameters' => [
+                               'id' => [
+                                       'since' => '25.0.0',
+                                       'required' => true,
+                                       'description' => 'The id used to identify the poll on the instance',
+                                       'example' => '12345',
+                               ],
+                               'name' => [
+                                       'since' => '25.0.0',
+                                       'required' => true,
+                                       'description' => 'The poll question',
+                                       'example' => 'What is the question?',
+                               ],
+                       ],
+               ],
                'user' => [
                        'author' => 'Nextcloud',
                        'app' => 'core',