I try to send messages in telegram with adding strings in inline keyboard table for telegram sends a message I make the text for keyboard format with, for loop like this
for k,v in pairs(list) do
text = text.."{{".."text="..v.."}},"
end
local keyboard = {}
keyboard.inline_keyboard = {
text
}
`
How I can convert to text string to keyboard table? I use this code but doesn't work because that is a string in table!