Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does startTyping with a given time actually wait? #2238

Open
gekkedev opened this issue Jun 26, 2024 · 0 comments
Open

Does startTyping with a given time actually wait? #2238

gekkedev opened this issue Jun 26, 2024 · 0 comments
Labels
needs triage question Further information is requested

Comments

@gekkedev
Copy link
Contributor

gekkedev commented Jun 26, 2024

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 gekkedev added needs triage question Further information is requested labels Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant