Sir do you have any idea about this? i want to

show back button and close button next to each other if the message is triggered by /start command. else only close button if message is not triggered by /start command.

the problem is when i try to display both buttons next to each other getting the error in console.

the square brackets which are commented were uncommented when i got that error. without those brackets it works fine but does not place the buttons next to the each other.

3 ответов

26 просмотров
ANDRIO- Автор вопроса

this is the result when i print the back_button when triggered by /start command: [pyrogram.types.InlineKeyboardButton(text='⏪ BACK', callback_data='back_data')]

ANDRIO
this is the result when i print the back_button wh...

The button cannot be sent, markup should be used

ANDRIO- Автор вопроса

Похожие вопросы

Карта сайта