that can make bots with a fixed functionality work?
Yep. If the functionality cannot be edited by owner (like in livegram, where it is just limited to sending messages to owner and back) - there's either a separate code for that that is being launched when a new bot is connected or a main program starts another thread with a new bot running. If you are talking about bots that allows users to create their own bot and change some actions in it - they probably store the data about what to do when some event happens. I have a userbot that has some sort of this functionality but with animations. You can take a look if you want
P.s. Main branch is really outdated but still has MessageAnimationHandler that you are looking for
Обсуждают сегодня