File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -770,4 +770,30 @@ public function deleteWebhook($webhookId)
770770 {
771771 return $ this ->curl ->delete ("webhooks/ {$ webhookId }" );
772772 }
773+
774+ /**
775+ * addFollowersToTask
776+ *
777+ * @param $taskId
778+ * @param $followerIds
779+ *
780+ * @return string|null
781+ */
782+ public function addFollowersFromTask ($ taskId , $ followerIds )
783+ {
784+ return $ this ->curl ->post ("tasks/ $ taskId/addFollowers " , ["data " => ["followers " => $ followerIds ]]);
785+ }
786+
787+ /**
788+ * removeFollowersFromTask
789+ *
790+ * @param $taskId
791+ * @param $followerIds
792+ *
793+ * @return string|null
794+ */
795+ public function removeFollowersFromTask ($ taskId , $ followerIds )
796+ {
797+ return $ this ->curl ->post ("tasks/ $ taskId/removeFollowers " , ["data " => ["followers " => $ followerIds ]]);
798+ }
773799}
You can’t perform that action at this time.
0 commit comments