Receiving Events
call.answered
call.answered แจ้งว่าเชื่อมต่อสายแล้ว ให้ระบุ call.answered ใน subscribed_events เพื่อรับเหตุการณ์ของสายโทรออก
Event payload
{
"id": "evt_call_example",
"type": "call.answered",
"provider": "whatsapp",
"account_id": "acc_example",
"occurred_at": "2026-10-10T12:00:42Z",
"data": {
"call": {
"id": "call_example",
"direction": "outbound",
"media_type": "voice",
"state": "active"
},
"sender": {
"id": "100000000000002@lid",
"display_name": "Example"
}
}
}หมายเหตุ
- call.answered แจ้งว่าเชื่อมต่อสายแล้ว ให้ระบุ call.answered ใน subscribed_events เพื่อรับเหตุการณ์ของสายโทรออก
- เวิร์กสเปซทั่วไปต้องระบุ call.answered และ call.ended ใน subscribed_events เพื่อรับเหตุการณ์สายโทรออก เวิร์กสเปซทดสอบใช้ * รายการว่าง หรือไม่ระบุรายการก็ได้ ระบบตรวจสิทธิ์และการสมัครรับล่าสุดเมื่อส่ง ลองใหม่ หรือเล่นซ้ำจากคิวข้อความล้มเหลว บันทึกการโทร message.* แยกจากเหตุการณ์เหล่านี้