MohammedAlakhras commited on
Commit
4572da6
·
1 Parent(s): b6ab152

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ username=os.environ['username']
36
 
37
  serssionFile=os.environ['sessionUrlFile']
38
 
39
- download_file(serssionFile, 'an.session')
40
 
41
 
42
 
@@ -44,7 +44,7 @@ download_file(serssionFile, 'an.session')
44
  reply_times = {}
45
 
46
  async def main():
47
- async with TelegramClient(an, api_id, api_hash) as client:
48
  @client.on(events.NewMessage())
49
  async def my_event_handler(event):
50
  sender = await event.get_sender()
 
36
 
37
  serssionFile=os.environ['sessionUrlFile']
38
 
39
+ download_file(serssionFile, 'anon.session')
40
 
41
 
42
 
 
44
  reply_times = {}
45
 
46
  async def main():
47
+ async with TelegramClient(anon, api_id, api_hash) as client:
48
  @client.on(events.NewMessage())
49
  async def my_event_handler(event):
50
  sender = await event.get_sender()