diff --git a/tiger/tools/communication/telegram/delete_message.py b/tiger/tools/communication/telegram/as_user/delete_message.py similarity index 90% rename from tiger/tools/communication/telegram/delete_message.py rename to tiger/tools/communication/telegram/as_user/delete_message.py index 1729a38..d375f42 100644 --- a/tiger/tools/communication/telegram/delete_message.py +++ b/tiger/tools/communication/telegram/as_user/delete_message.py @@ -24,6 +24,6 @@ async def del_message(num, message): asyncio.run(del_message(number, message)) -tool_name = "communication.telegram.delete_message" +tool_name = "communication.telegram.as_user.delete_message" tool_obj = delete_message tool_requirements = ["telethon==1.34.0"] diff --git a/tiger/tools/communication/telegram/get_last_dialogs.py b/tiger/tools/communication/telegram/as_user/get_last_dialogs.py similarity index 95% rename from tiger/tools/communication/telegram/get_last_dialogs.py rename to tiger/tools/communication/telegram/as_user/get_last_dialogs.py index 098586f..39eb335 100644 --- a/tiger/tools/communication/telegram/get_last_dialogs.py +++ b/tiger/tools/communication/telegram/as_user/get_last_dialogs.py @@ -44,6 +44,6 @@ async def fetch_recent_chats(limit): return chats -tool_name = "communication.telegram.get_last_dialogs" +tool_name = "communication.telegram.as_user.get_last_dialogs" tool_obj = get_last_dialogs tool_requirements = ["telethon==1.34.0"] diff --git a/tiger/tools/communication/telegram/get_last_messages.py b/tiger/tools/communication/telegram/as_user/get_last_messages.py similarity index 94% rename from tiger/tools/communication/telegram/get_last_messages.py rename to tiger/tools/communication/telegram/as_user/get_last_messages.py index 68bf5d8..52db464 100644 --- a/tiger/tools/communication/telegram/get_last_messages.py +++ b/tiger/tools/communication/telegram/as_user/get_last_messages.py @@ -39,6 +39,6 @@ async def get_messages(num, limit): return messages -tool_name = "communication.telegram.get_last_messages" +tool_name = "communication.telegram.as_user.get_last_messages" tool_obj = get_last_messages tool_requirements = ["telethon==1.34.0"] diff --git a/tiger/tools/communication/telegram/send_message.py b/tiger/tools/communication/telegram/as_user/send_message.py similarity index 91% rename from tiger/tools/communication/telegram/send_message.py rename to tiger/tools/communication/telegram/as_user/send_message.py index f8f950e..5c3304f 100644 --- a/tiger/tools/communication/telegram/send_message.py +++ b/tiger/tools/communication/telegram/as_user/send_message.py @@ -25,6 +25,6 @@ async def send_message(number, message): return result -tool_name = "communication.telegram.send_message" +tool_name = "communication.telegram.as_user.send_message" tool_obj = send_message tool_requirements = ["telethon==1.34.0"] diff --git a/tiger/tools/communication/telegram/signin.py b/tiger/tools/communication/telegram/as_user/signin.py similarity index 91% rename from tiger/tools/communication/telegram/signin.py rename to tiger/tools/communication/telegram/as_user/signin.py index bb70c38..a87084e 100644 --- a/tiger/tools/communication/telegram/signin.py +++ b/tiger/tools/communication/telegram/as_user/signin.py @@ -22,6 +22,6 @@ async def send_message(): return result -tool_name = "communication.telegram.signin" +tool_name = "communication.telegram.as_user.signin" tool_obj = signin tool_requirements = ["telethon==1.34.0"]