From 27365be67695f2e12ddd3c4457d31fae79ead15b Mon Sep 17 00:00:00 2001 From: drachenminister Date: Fri, 25 Mar 2016 11:14:03 +0100 Subject: Enable HTML Message Support Enable HTML Message Support as described in http://updates.pushover.net/post/117525190347/html-message-support --- pushover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pushover.py b/pushover.py index a84abdc..8f33fd4 100644 --- a/pushover.py +++ b/pushover.py @@ -218,7 +218,7 @@ class Client: """ valid_keywords = ["title", "priority", "sound", "callback", "timestamp", "url", "url_title", "device", - "retry", "expire"] + "retry", "expire", "html"] payload = {"message": message, "user": self.user_key} if self.device: -- cgit v1.2.3-70-g09d2 From fa1f9ad120e81a51fe929b92fc4cbe481b35e78c Mon Sep 17 00:00:00 2001 From: drachenminister Date: Fri, 25 Mar 2016 11:31:27 +0100 Subject: Update documentation in send_message() Update documentation to reflect addition of the 'html' parameter --- pushover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pushover.py b/pushover.py index 8f33fd4..156afcd 100644 --- a/pushover.py +++ b/pushover.py @@ -210,7 +210,7 @@ class Client: """Send a message to the user. It is possible to specify additional properties of the message by passing keyword arguments. The list of valid keywords is ``title, priority, sound, callback, timestamp, url, - url_title, device, retry and expire`` which are described in the + url_title, device, retry, expire and html`` which are described in the Pushover API documentation. For convenience, you can simply set ``timestamp=True`` to set the timestamp to the current timestamp. -- cgit v1.2.3-70-g09d2