diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/notification/action.php | 8 | ||||
-rw-r--r-- | lib/public/notification/iaction.php | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/private/notification/action.php b/lib/private/notification/action.php index 2f7c1a5b5f4..08f3d50bac2 100644 --- a/lib/private/notification/action.php +++ b/lib/private/notification/action.php @@ -122,6 +122,14 @@ class Action implements IAction { } /** + * @return string + * @since 8.2.0 + */ + public function getRequestType() { + return $this->requestType; + } + + /** * @param string $icon * @return $this * @throws \InvalidArgumentException if the icon is invalid diff --git a/lib/public/notification/iaction.php b/lib/public/notification/iaction.php index db60f6cedbb..64b95bdb5ad 100644 --- a/lib/public/notification/iaction.php +++ b/lib/public/notification/iaction.php @@ -76,6 +76,12 @@ interface IAction { public function getLink(); /** + * @return string + * @since 8.2.0 + */ + public function getRequestType(); + + /** * @param string $icon * @return $this * @throws \InvalidArgumentException if the icon is invalid |