From c057e0df149010332659d6fe2811ff8d5c23269b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yago=20Gonz=C3=A1lez?= Date: Thu, 12 Jul 2018 19:08:55 +0530 Subject: [PATCH] api: Implement GET /users/me/alert_words. --- zulip/zulip/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 327c70b..fbb7d58 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -895,6 +895,13 @@ class Client(object): request=request, ) + def get_alert_words(self): + # type: () -> Dict[str, Any] + return self.call_endpoint( + url='users/me/alert_words', + method='GET' + ) + def list_subscriptions(self, request=None): # type: (Optional[Dict[str, Any]]) -> Dict[str, Any] '''