event callbacks, and execute some telethon command in infinite while loop?
So for example handle all new messages, but at the same time be in while True loop and do some other stuff
Right now the only thing I can think of is starting two programs
(I don't mind stopping while loop for a sec to handle an event)
Documentation for loop
Обсуждают сегодня