randydev commited on
Commit
3a325e3
·
verified ·
1 Parent(s): 710af12

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -293,8 +293,8 @@ async def get_chat_raw(username: str = None):
293
  }
294
 
295
 
296
- async def send_to_telegram(author: str = "xpushz", text: str = None):
297
- return await bot.send_message(chat_id=author, text=text)
298
 
299
  @fast_app.post("/log_captcha")
300
  async def log_captcha(data: dict):
 
293
  }
294
 
295
 
296
+ async def send_to_telegram(user_id="@xpushz", text: str = None):
297
+ return await bot.send_message(user_id, text=text)
298
 
299
  @fast_app.post("/log_captcha")
300
  async def log_captcha(data: dict):