I have a Python code where on start I can print one inline button per row. I want to modify to print 2 inline buttons in a row. How can I modify the code?
@app.on_message(filters.command("start"))
async def mute_user(_, message):
group_id = message.chat.id
kn = []
for khp in Config.groups_button:
print(khp)
x = khp.split("#")[0]
p = khp.split("#")[1]
lpo = [InlineKeyboardButton(x, url=p)]
kn.append(lpo)
print(kn)
reply_markup = InlineKeyboardMarkup(
kn
)