Skip to content

[NOWEB] Get poll answer when getting message #923

@DuAell

Description

@DuAell

We can get poll answers with events, but when the session is not started, we are not able to retrieve all the answers.

It is available in the get messages endpoint, in pollUpdates, but in an encrypted form :

"pollUpdates": [
        {
          "pollUpdateMessageKey": {
            "remoteJid": "xxx@s.whatsapp.net",
            "fromMe": false,
            "id": "A1A1E4688F345B7B9D716D78F70B9FED"
          },
          "vote": {
            "selectedOptions": [
              {
                "type": "Buffer",
                "data": "CpBAdjnEFVovoIrEyXv9CPpIVrMfFnl4kY/+Dx+o3vo="
              }
            ]
          },
          "senderTimestampMs": 1745306875055
        }
      ]

Linked documentation : https://waha.devlike.pro/docs/engines/noweb/#get-messages

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions