InlineKeyboardMarkup and InlineKeyboardButton
See original GitHub issueGreetings. 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:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @lippol94, you are right it should be a
List<KeyboardRow>
, will try to fix as soon as I have a moment.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?