G
G
gvnikolaev2022-03-02 04:23:44
Python
gvnikolaev, 2022-03-02 04:23:44

In a telegram channel via python, I need to add texts that subscribers write to the variable, how to do this?

For example: Ivanov sent the word hello, I have to check this word, compare it with something and send the answer to the same channel.

I tried to do it with a telegram bot, right in the bot, but it didn’t work, because I use a cycle, I count the database, I check it, i.e. when using bot.polling (non stop=true), the cycle stops working

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