From 30701063658bda3a072e23e3e7866366656ae0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yago=20Gonz=C3=A1lez?= Date: Thu, 12 Jul 2018 20:52:32 +0530 Subject: [PATCH] api: Implement DELETE /users/me/alert_words. --- zulip/zulip/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 1754fca..f632cf3 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -912,6 +912,16 @@ class Client(object): } ) + def remove_alert_words(self, alert_words): + # type: (List[str]) -> Dict[str, Any] + return self.call_endpoint( + url='users/me/alert_words', + method='DELETE', + request={ + 'alert_words': alert_words + } + ) + def list_subscriptions(self, request=None): # type: (Optional[Dict[str, Any]]) -> Dict[str, Any] '''