if (FALSE) {
Sys.setenv(WHAPI_TOKEN = "your_token_here")
whapi_send_mixed_actions(
to = "5581999999999",
body_text = "Pick an option:",
buttons = list(
list(type="url", title="Website", url="https://example.com"),
list(type="call", title="Call us", phone_number="5581999999999"),
list(type="copy", title="Copy OTP", copy_code="123456")
)
)
}
Run the code above in your browser using DataLab