Open vit-samchuk opened 8 months ago
We have the same problem.
We have the same problem.
Maybe this will help you - in my app I made a cron every 30 seconds to execute call method updates.getState
.
And my listenrs succesfully getting all updates)
Oh, I remembered. Maybe this will help you. Updates also stop coming after receiving the updatesTooLong event, but we process this event. Despite this, updates still stop coming.
Is there any solution to this problem at the moment? gramjs can't listen to any messages after a while, it seems the same problem happens with this library, so is this an official telegram api problem?
I still use solution from my prew answer with updates.getState
We have the same problem.
Maybe this will help you - in my app I made a cron every 30 seconds to execute call method
updates.getState
. And my listenrs succesfully getting all updates)
With this code const state = await this.mtproto.updates.getState(); console.log('state:', state);
i have a this.mtproto.updates.getState is not a function
error.
Is this right ?
Successfully configured listener for all updates. But not getting updates at all from some channels. And successfully receives all updates - messages, edits, reactions and other from others.
Have worked with this library several times, never ones noticed something similar earlier. Any suggestions?