MadelineProto
MadelineProto copied to clipboard
Why is the onStart method fired twice?
I need to start several checks that need yielding, if I put them on the onStart method i see that the event is fired several times, which disrupts a bit the way things should work. I haven't found a way to make sure that onStart is called once only
I have my onUpdateNewMessage
firing correctly, but I also need to attach a loop to the main loop when the program is started and also send some messages upon receiving events from Redis (async)
Any idea?