Support for nested arrays
JensBorrisholt opened this issue · 0 comments
Hi
Your converter lags support for nested arrays.
Here is an example JSON
{
"one_time":false,
"buttons":[
[
{
"action":{
"type":"location",
"payload":"{"button": "1"}"
}
}
],
[
{
"action":{
"type":"open_app",
"app_id":6979558,
"owner_id":-181108510,
"hash":"sendKeyboard",
"label":"Отправить клавиатуру"
}
}
],
[
{
"action":{
"type":"vkpay",
"hash":"action=transfer-to-group&group_id=181108510&aid=10"
}
}
],
[
{
"action":{
"type":"text",
"payload":"{"button": "1"}",
"label":"Negative"
},
"color":"negative"
},
{
"action":{
"type":"text",
"payload":"{"button": "2"}",
"label":"Positive"
},
"color":"positive"
},
{
"action":{
"type":"text",
"payload":"{"button": "2"}",
"label":"Primary"
},
"color":"primary"
},
{
"action":{
"type":"text",
"payload":"{"button": "2"}",
"label":"Secondary"
},
"color":"secondary"
}
]
]
}