diff options
Diffstat (limited to 'src/home/telegram/telegram.py')
-rw-r--r-- | src/home/telegram/telegram.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/home/telegram/telegram.py b/src/home/telegram/telegram.py index 9c7ea73..2f94f93 100644 --- a/src/home/telegram/telegram.py +++ b/src/home/telegram/telegram.py @@ -1,6 +1,7 @@ import requests import logging +from typing import Tuple from ..config import config @@ -29,7 +30,7 @@ def send_photo(filename: str): def _send_telegram_data(text: str, parse_mode: str = None, - disable_web_page_preview: bool = False) -> tuple[dict, str]: + disable_web_page_preview: bool = False) -> Tuple[dict, str]: data = { 'chat_id': config['telegram']['chat_id'], 'text': text |