Events Call

Question

Grade: Education Subject: pedroslopez whatsapp-web.js
Events Call
Asked by:
11 Viewed 11 Answers

Answer (11)

Best Answer
(663)

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe.

How to get events when a call has been received, or not received, or is currently on a call?

Describe the solution you'd like.

When a call is received, send a callback that the call has been received, or if the call is not received, then also send a callback, and if the bot is on a call, then send a callback that the bot is on a call.

Describe an alternate solution.

No response

Additional context

No response

(1111)

Answer:

Is there an existing issue for this?

Yes, I have searched the existing issues but couldn't find one that directly addresses your question.

Is your feature request related to a problem? Please describe.

Yes, the problem is that there is no way to get events when a call is received, not received, or when the bot is currently on a call.

Describe the solution you'd like.

The solution is to implement callbacks that are triggered when a call is received, not received, or when the bot is on a call. This will allow developers to write code that responds to these events and takes appropriate action.

Describe an alternate solution.

An alternate solution would be to use a third-party service or library that provides this functionality. However, this would add an extra layer of complexity and potentially increase costs.

Additional context

Additional context would depend on the specific use case and the platform or framework being used. If you could provide more details, I could try to provide more specific suggestions or examples.