Spaces:
Sleeping
Sleeping
Update main.py
Browse files18 unmodified lines192021222223242518 unmodified lines#https://api.telegram.org/bot6907051705:AAHZtYuiFTkQBNNw6m3cBVns8BPUw5mvxgU/setWebhook?url=https://matteoscript-TelegramBotSimple.hf.space/
@app.on_event("startup")async def on_startup():def on_startup(): print('start up') response = client.get(os.getenv('telegramUrlBot') + '/setWebhook?url=https://matteoscript-TelegramBotSimple.hf.space/OLD') response = client.get(os.getenv('telegramUrlBot') + '/setWebhook?url=https://matteoscript-TelegramBotSimple.hf.space/')main.py+1-1