if (FALSE) {
send_list(client, "5581999990000",
title = "Our Menu",
description = "Select from the options below:",
button_text = "View options",
footer = "Powered by R",
sections = list(
list(title = "Drinks", rows = list(
list(title = "Coffee", description = "Hot coffee", rowId = "1"),
list(title = "Tea", description = "Green tea", rowId = "2")
)),
list(title = "Food", rows = list(
list(title = "Cake", description = "Chocolate cake", rowId = "3")
))
))
}
Run the code above in your browser using DataLab