Looking for json payload to create inline_keyboard
with multiple InlineKeyboardButton
on the same row.
The following code is working but creates 1 button per row.
{
"telegram": {
"text": "Pick a color",
"reply_markup": {
"inline_keyboard": [
[
{
"text": "Red",
"callback_data": "Red"
}
],
[
{
"text": "Pink",
"callback_data": "Pink"
}
]
]
}
}
}
Telegram Card in Dialogflow is able to create multiple inline buttons similar to as shown below:
https://core.telegram.org/file/811140217/1/NkRCCLeQZVc/17a804837802700ea4