Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't add more of the 8 buttons in one message #18

Open
MrBrainStorm opened this issue Dec 24, 2020 · 0 comments
Open

I can't add more of the 8 buttons in one message #18

MrBrainStorm opened this issue Dec 24, 2020 · 0 comments

Comments

@MrBrainStorm
Copy link

def test_cb(bot, event):
bot.send_text(chat_id=event.data['chat']['chatId'],
text="Hello with buttons.",
inline_keyboard_markup="[{}]".format(dumps([
{"text": "Action 1", "url": "http://mail.ru"},
{"text": "Action 2", "callbackData": "call_back_id_2"},
{"text": "Action 3", "callbackData": "call_back_id_3"},
{"text": "Action 1", "url": "http://mail.ru"},
{"text": "Action 2", "callbackData": "call_back_id_2"},
{"text": "Action 3", "callbackData": "call_back_id_3"},
{"text": "Action 1", "url": "http://mail.ru"},
{"text": "Action 2", "callbackData": "call_back_id_2"},
{"text": "Action 3", "callbackData": "call_back_id_3"},
])))
How i can make more buttons?

@MrBrainStorm MrBrainStorm changed the title I cant't add more of the 8 buttons in one massage I can't add more of the 8 buttons in one message Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant