Skip to content

GET Presence #1531

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

Open
1 task done
hamzaa53 opened this issue Jun 1, 2025 · 1 comment
Open
1 task done

GET Presence #1531

hamzaa53 opened this issue Jun 1, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@hamzaa53
Copy link

hamzaa53 commented Jun 1, 2025

Welcome!

  • Yes, I have searched for similar requests on GitHub and found none.

What type of feature?

Endpoint

What is the motivation for the request?

Getting the user's “typing...” information is very important for realistic communication. That's why I think there should be a 'Get Presence' endpoint as well as 'Send Presence -> composing'. Thanks.

Note: I know that we can have typing information with Webhook, but this does not solve my problem and it can be quite tiring for the system as it processes the current state to the database.

Usage Examples

With an endpoint, you will query the remoteJid value of the person you want to know the status of, and as a result, it will tell you the current status of that person (available, unavailable, composing etc.).

How should the feature be developed?

No response

Additional Notes

No response

@hamzaa53 hamzaa53 added the enhancement New feature or request label Jun 1, 2025
@vidz1979
Copy link

vidz1979 commented Jun 6, 2025

It already has a way to find out if user is typing. Enable webhook PRESENCE_UPDATE.

    {
      "event": "presence.update",
      "instance": "ZapTickets",
      "data": {
        "id": "[email protected]",
        "presences": {
          "[email protected]": {
            "lastKnownPresence": "composing"
          }
        }
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants