G
G
gostbeat2021-01-21 02:09:04
Python
gostbeat, 2021-01-21 02:09:04

How to call a function immediately after pressing the TELEBOT button?

Have a function

elif message.text == " Статус функций":
        client.register_next_step_handler(message, status)

But I need to click on the "Status Functions" button 2 times to call status.

Is there a way to call it with one click?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question