gramjs icon indicating copy to clipboard operation
gramjs copied to clipboard

client.disconnect()

Open Vo0oX opened this issue 2 years ago • 0 comments

I have a question how can I reset the connection?

I configured gramjs via node framework.

When I reach the limit of inviting people to the group, I want to reset the connection, session and re-enter the phone number and connect. How can this be implemented?

for example I added 50 people to a group and I get an error ERROR: PEER_FLOOD. And I want to switch to another account in order to continue or take another group. But if I use the client.disconnect() method And then again I call client.connect(); I get an error that there is no file session_name%********

Vo0oX avatar Aug 27 '22 06:08 Vo0oX