refactor(project): move files into specific folders

This commit is contained in:
2025-01-08 13:42:48 +01:00
parent 0f4dca57a2
commit bad8313d93
5 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
import telegram
class Telegram:
def __init__(self, token, channel_id):
self.token = token
self.bot = telegram.Bot(token=token)
self.channel_id = channel_id
async def send_message(self, message: str):
await self.bot.send_message(chat_id=self.channel_id, text=message)