Closed KidA001 closed 3 years ago
For some reason connectionRetries
needs to be at least 1.
yeah sometimes telegram would disconnect you randomly and you'll need to recreate the connection. It's usually safer to put it something like 5 since the disconnect can happen twice.
I'm getting an error
Cannot send requests while disconnected. You need to call .connect()
when I callstart()
on my gramJs client (see code below). This error seems out of the blue as I'm not sure what if anything has changed in my code. I've logged out any existing sessions to this client.My code:
Any insight appreciated