Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -17,8 +17,8 @@ app.add_middleware(
|
|
17 |
)
|
18 |
|
19 |
@app.post("/")
|
20 |
-
def webhook(req:
|
21 |
-
print(
|
22 |
data = req.json()
|
23 |
print(data)
|
24 |
#chat_id = data['message']['chat']['id']
|
|
|
17 |
)
|
18 |
|
19 |
@app.post("/")
|
20 |
+
def webhook(req: dict):
|
21 |
+
print(req)
|
22 |
data = req.json()
|
23 |
print(data)
|
24 |
#chat_id = data['message']['chat']['id']
|