O
O
oshoshh2020-07-05 02:32:57
Python
oshoshh, 2020-07-05 02:32:57

How to make a notification when a button is clicked?

5f011188f3d7b235883615.png
How to make the same notification when pressing an inline button.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Elvis, 2020-07-05
@Dr_Elvis

Use the Telegram API search, how to make a pop-up message similar to Alert?

D
Dmitry Link, 2020-07-05
@DmitryLink

Example for aigram :

@dp.callback_query_handler(text='callback_data')
async def inline_kb_answer_callback_handler(query: types.CallbackQuery):
    await query.answer('Hello world!')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question