summaryrefslogtreecommitdiff
path: root/include/py/homekit/telegram/telegram.py
diff options
context:
space:
mode:
Diffstat (limited to 'include/py/homekit/telegram/telegram.py')
-rw-r--r--include/py/homekit/telegram/telegram.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/py/homekit/telegram/telegram.py b/include/py/homekit/telegram/telegram.py
index f42363e..7d7471b 100644
--- a/include/py/homekit/telegram/telegram.py
+++ b/include/py/homekit/telegram/telegram.py
@@ -11,7 +11,7 @@ _logger = logging.getLogger(__name__)
def send_message(text: str,
chat: str,
parse_mode: str = 'HTML',
- disable_web_page_preview: bool = False,):
+ disable_web_page_preview: bool = False):
data, token = _send_telegram_data(text, chat, parse_mode, disable_web_page_preview)
req = requests.post('https://api.telegram.org/bot%s/sendMessage' % token, data=data)
return req.json()