Answer the question
In order to leave comments, you need to log in
Spam block for telegram bot in python, how to implement?
Chatbot for TELEGRAM, we need a function that will track the writing of messages from each user or something like that.
Then, if the user wrote 6-7 messages quickly in a row, he was added to the
black_list list
And when you try to write something, you need to track whether he is on the black list or not
Answer the question
In order to leave comments, you need to log in
Look for the course Development of Telegram bots in Python [Udemy] [Konstantin Kryuchkov] , there is a ready-made solution
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question