tamil error fixed
This commit is contained in:
49
test_restart.py
Normal file
49
test_restart.py
Normal file
@@ -0,0 +1,49 @@
|
||||
import requests
|
||||
|
||||
payload = {
|
||||
"object": "whatsapp_business_account",
|
||||
"entry": [
|
||||
{
|
||||
"id": "1068191009070265",
|
||||
"changes": [
|
||||
{
|
||||
"value": {
|
||||
"messaging_product": "whatsapp",
|
||||
"metadata": {
|
||||
"display_phone_number": "15551914329",
|
||||
"phone_number_id": "1236658909534007"
|
||||
},
|
||||
"contacts": [
|
||||
{
|
||||
"profile": {
|
||||
"name": "Dev"
|
||||
},
|
||||
"wa_id": "919994834737",
|
||||
"user_id": "IN.1458184416042595"
|
||||
}
|
||||
],
|
||||
"messages": [
|
||||
{
|
||||
"from": "919994834737",
|
||||
"from_user_id": "IN.1458184416042595",
|
||||
"id": "wamid.HBgMOTE2Mzc5NzgzOTExFQIAEhgWM0VCMDU3MDk2N0Q2ODk0MzE2N0U4NwA=",
|
||||
"timestamp": "1786945902",
|
||||
"interactive": {
|
||||
"type": "button_reply",
|
||||
"button_reply": {
|
||||
"id": "MENU_SERVICES",
|
||||
"title": "My Services"
|
||||
}
|
||||
},
|
||||
"type": "interactive"
|
||||
}
|
||||
]
|
||||
},
|
||||
"field": "messages"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
requests.post('http://localhost:8085/webhook', json=payload)
|
||||
Reference in New Issue
Block a user