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

InlineKeyboardMarkup and InlineKeyboardButton #34

Closed
leonardoarcari opened this issue Apr 16, 2016 · 6 comments
Closed

InlineKeyboardMarkup and InlineKeyboardButton #34

leonardoarcari opened this issue Apr 16, 2016 · 6 comments
Labels

Comments

@leonardoarcari
Copy link

leonardoarcari commented Apr 16, 2016

Greetings. Today I was starting to play around with InlineKeyboardMarkup type, so I supposed it should have been working like ReplyKeyboardMarkup (according to Telegram APIs)
Although the add method takes a List<List<String>> as parameter instead of a List<List<InlineKeyboadButton>> or a consistent List<InlineKeyboardRows>.

I'm I missing something? Thank you.

@rubenlagus
Copy link
Owner

Hi @lippol94, you are right it should be a List<KeyboardRow>, will try to fix as soon as I have a moment.

@rubenlagus rubenlagus added the bug label Apr 17, 2016
@leonardoarcari
Copy link
Author

Nice! Thank you so much! :)

@rubenlagus rubenlagus mentioned this issue Apr 17, 2016
@rubenlagus
Copy link
Owner

Should be fixed with Merge #38

Finally I didn't added an InlineKeyboardRow object because for this case, the list can only be built by InlineKeyboardButtons, I added the KeyboardRow to keep compatibility for old List<List<string>>

@leonardoarcari
Copy link
Author

Super! Thanks 😉

@danielgarciasantos
Copy link

I can not reproduce the type InlineKeyboardMarkup and Inline Keyboard Button.
I would like to play a button inline control, could help me.
Thank you.

@maistrovyi
Copy link

maistrovyi commented Jun 30, 2016

Hi, i having a problem with the Cyrillic text in InlineKeyboardButton.
When i tried:
button.setText("Русский язык");
as the result will be button with "??????? ????" text.
I tried to change the encoding (UTF-8) - gave no results.
Someone can verify or give advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants