button
A text followed by one or more buttons.
button(text=String, buttons=Array/Hash, params=Hash)
button(text=String, buttons=Array/Hash, params=Hash)Platforms
Platform
Supported
Native Name
Usage
Reply
@reply.button(
"Hello, how can I help today?",
[
{
title: "Create an account",
payload: "profile/create_account"
},
{
title: "Read TOS",
payload: "read_tos"
},
{
title: "Feature Product",
payload: set_payload("products/view", { product_id: 10 })
}
]
)On-Demand
Payload formats
To the same context
To a different context
With params
Arguments
Name
Description
Extra params
typed_postbacks
typed_postbacksslice_replies
slice_repliesLast updated
Was this helpful?