Home>

the essence of clicking on the inline keyboard pops up the text and below there should be an inline link as in the photo

@dp.callback_query_handler(text_contains='can')
async def can(call: types.CallbackQuery):

What to add to the code for the inline keyboard as in the photo

Do you need to add a link? Or vice versa to remove?

XAPDKOP2022-01-31 05:45:14

Add to this button on inline keyboard

Anthony2022-01-31 05:45:14
  • Answer # 1

    When creating a button, you need to specify a parameterurl

    button= types.InlineKeyboardButton(text="Proceed to payment(Comment required)", url="google.com")
    

    Details of other speciesinlinebuttons and their uses on YouTube.

  • Answer # 2

    When creating a button, you need to specify a parameterurl

    button= types.InlineKeyboardButton(text="Proceed to payment(Comment required)", url="google.com")
    

    Details of other speciesinlinebuttons and their uses on YouTube.