gramjs
gramjs copied to clipboard
client.disconnect()
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%********