wppconnect
wppconnect copied to clipboard
Does startTyping with a given time actually wait?
When using startTyping
you can hand in a timeout:
await client.startTyping('[number]@c.us', 5000);
When you prefix await
, I wonder if the returned promise will actually wait for the specified time or if the timeout only affects the lifetime of the "typing..." state in the background.
To me this seemed to be the case, but during debugging I started to question it. I'm willing to amend the documentation based on the reply.