brainy-tailor-59052
08/21/2025, 8:50 PMbrainy-tailor-59052
08/21/2025, 8:52 PMlimited-pencil-78283
08/21/2025, 9:18 PMconst data = {
purpose: 'sendmessage',
message_data: {
messaging_product: 'whatsapp',
recipient_type: 'individual',
to: user.phoneNumber,
type: 'interactive',
interactive: {
type: 'list',
header: {
type: 'text',
text: 'The K Story'
},
body: {
text: 'Select an option to begin'
},
action: {
button: 'The K Story Menu',
sections: [
{
title: 'Restaurant Options',
rows: [
{
id: 'the_k_tiffin',
title: 'The K Tiffin',
description: 'Subscription based home-style meals delivered to you'
},
{
id: 'the_k_curry',
title: 'The K Restaurant',
description: 'Awesome food, great taste'
},
{
id: 'the_k_catering',
title: 'The K Catering',
description: 'Home catering service for birthdays kitty party'
}
]
},
{
title: 'Other Actions',
rows: [
{
id: 'profile',
title: 'My Profile',
description: 'View & Update Profile'
},
{
id: 'faq',
title: 'Customer Support',
description: 'Chat with K Tiffin'
},
{
id: 'exit',
title: 'Exit',
description: 'Exit the Menu'
}
]
}
]
}
}
}
}limited-pencil-78283
08/21/2025, 9:20 PMbrainy-tailor-59052
08/21/2025, 9:33 PMbrainy-tailor-59052
09/01/2025, 2:07 PMcolossal-scientist-24455
09/01/2025, 2:37 PMlimited-pencil-78283
09/01/2025, 3:02 PMbrainy-tailor-59052
09/02/2025, 11:15 AMbrainy-tailor-59052
09/02/2025, 11:16 AMcolossal-scientist-24455
09/02/2025, 11:55 AM