Menu & list
Kartu pilihan bertingkat untuk booking, support, dll.
1 min read
Kirim kartu list
curl -sS -X POST "$BASE/v1/messages/send"
-H "Authorization: Bearer $KEY"
-H "Idempotency-Key: support-menu-monday"
-H "Content-Type: application/json"
-d '{
"to": "peer_username",
"type": "list",
"name": "support_menu",
"schema_version": 1,
"limit": 1,
"text": "Choose a topic",
"sections": [
{
"title": "Support",
"rows": [
{
"id": "billing",
"title": "Billing",
"description": "Invoices & payments",
"type": "reply",
"write": true,
"once": true
}
]
}
],
"expires_at": "2026-08-26T10:00:00.000Z"
}' Batas
idbaris unik di semua section- Maks 10 section, 30 baris total
namewajib
Field baris
| Field | Keterangan |
|---|---|
type: reply | Webhook saat dipilih |
write | Pilihan juga muncul sebagai pesan chat |
once | Hanya bisa pilih sekali |
Saat user memilih
Lihat interactive.postback.