wb-droid commited on
Commit
03a26dc
·
1 Parent(s): 2b6bb50

Add some messages.

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -33,6 +33,11 @@ async def webhook(req: Request):
33
 
34
  return data
35
 
 
 
 
 
 
36
  def flip_text(x):
37
  return x[::-1]
38
 
 
33
 
34
  return data
35
 
36
+ @app.get("/webhook")
37
+ async def webhook_get():
38
+ return {"message": "/webhook for Telegram webhook is running. It accepts POST request from Telegram server."}
39
+
40
+
41
  def flip_text(x):
42
  return x[::-1]
43