Skip to content

Commit

Permalink
Update telegram_bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aserper committed Mar 7, 2024
1 parent c05323d commit 93ced0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self):
self.api_id = os.environ["TELEGRAM_API_ID"]
self.api_hash = os.environ["TELEGRAM_API_HASH"]
self.channel = "@RocketAlert"
self.client = TelegramClient('session_name', self.api_id, self.api_hash)
self.client = TelegramClient('/session/session_name', self.api_id, self.api_hash)
self.client.start()

def sendMessage(self, content):
Expand Down

0 comments on commit 93ced0b

Please sign in to comment.