question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InlineKeyboardMarkup and InlineKeyboardButton

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rubenlaguscommented, Apr 17, 2016

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

0reactions
maystrovyycommented, 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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

error from InlineKeyboardMarkup and InlineKeyboardButton
inlinekeyboardbutton does not contain a constructor that takes 2 argument. I'm using Telegram.Bot API version 15.5.1 InlineKeyboardMarkup ...
Read more >
InlineKeyboardMarkup (Telegram Bots Meta 4.3.1 API)
public class InlineKeyboardMarkup extends Object implements ReplyKeyboard. Version: 1.0 This object represents an inline keyboard that appears right next to ...
Read more >
Create an inline keyboard markup in ebeneditos/telegram.bot
InlineKeyboardMarkup : Create an inline keyboard markup ... List of button rows, each represented by a list of InlineKeyboardButton objects.
Read more >
telegram.InlineKeyboardButton - python-telegram-bot v20.0a6
InlineKeyboardMarkup. Changed in version 20.0: web_app is considered as well when comparing objects of this type in terms of equality. Parameters.
Read more >
python-telegram-bot/inlinekeyboard.py at master - GitHub
from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update. from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found