template
This commit is contained in:
parent
8037489503
commit
ad189b8568
15 changed files with 1989 additions and 4 deletions
|
|
@ -43,6 +43,7 @@ from .whatsapp_onboarding import (
|
|||
from .whatsapp_security import verify_meta_signature
|
||||
from .whatsapp_webhook import persist_webhook_payload
|
||||
from .whatsapp_messages import record_inbound_messages
|
||||
from .whatsapp_template_service import apply_template_status_webhook
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
@ -131,6 +132,7 @@ async def receive_webhook(
|
|||
|
||||
persist_webhook_payload(db, payload)
|
||||
record_inbound_messages(db, payload)
|
||||
apply_template_status_webhook(db, payload)
|
||||
return {"status": "ok"}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue