Open deven96 opened 3 years ago
Hi @deven96.
Do you have any idea what is the ttl that WhatsApp handles?
This could help for issue #564
Hi @deven96.
Do you have any idea what is the ttl that WhatsApp handles?
This could help for issue #564
I'm not certain @danielspk, logging resp["ttl"] at that point would probably just give us 20 as specified
The qr code has a ttl of 20 seconds and the login function throws a timeout err if the time has passed or any other request fails.
Is it possible to increase the ttl of the qr scan @Rhymen . From the code at session.go
Perhaps add a field to
Options struct
that will make that configurableI would be interested in implementing this if given the go ahead