wppconnect icon indicating copy to clipboard operation
wppconnect copied to clipboard

Does startTyping with a given time actually wait?

Open gekkedev opened this issue 7 months ago • 0 comments

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.

gekkedev avatar Jun 26 '24 09:06 gekkedev