diff --git a/tiger/tools/communication/telegram/as_user/delete_message.py b/tiger/tools/communication/telegram/as_user/delete_message.py index 8beec90..e3c5fbc 100644 --- a/tiger/tools/communication/telegram/as_user/delete_message.py +++ b/tiger/tools/communication/telegram/as_user/delete_message.py @@ -11,6 +11,7 @@ def delete_message(id: int, message: str): :param message: str: """ + id = int(id) import nest_asyncio nest_asyncio.apply() diff --git a/tiger/tools/communication/telegram/as_user/get_last_messages.py b/tiger/tools/communication/telegram/as_user/get_last_messages.py index c979d37..9a3fce6 100644 --- a/tiger/tools/communication/telegram/as_user/get_last_messages.py +++ b/tiger/tools/communication/telegram/as_user/get_last_messages.py @@ -11,6 +11,7 @@ def get_last_messages(id: int, limit=100): :param limit: (Default value = 100) """ + id = int(id) import nest_asyncio nest_asyncio.apply() diff --git a/tiger/tools/communication/telegram/as_user/send_message.py b/tiger/tools/communication/telegram/as_user/send_message.py index 5618136..f73ab51 100644 --- a/tiger/tools/communication/telegram/as_user/send_message.py +++ b/tiger/tools/communication/telegram/as_user/send_message.py @@ -11,6 +11,7 @@ def send_message(id: int, message: str) -> str: :param message: str: """ + id = int(id) import nest_asyncio nest_asyncio.apply()