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.
this is the result when i print the back_button when triggered by /start command: [pyrogram.types.InlineKeyboardButton(text='⏪ BACK', callback_data='back_data')]
The button cannot be sent, markup should be used
Oh. Can you please give an example
Обсуждают сегодня