Z
Z
Zura_aps2022-03-23 15:16:24
Bots
Zura_aps, 2022-03-23 15:16:24

How to connect a telegram bot button to a python code block?

There is a telegram bot, there are several buttons in the bot, I want to connect each of them to a specific block of code in Python.
Roughly speaking, you press one button, one cycle begins, if you choose another, then, accordingly, another cycle will work. How to do it?

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