waha icon indicating copy to clipboard operation
waha copied to clipboard

[NOWEB] Get poll answer when getting message

Open DuAell opened this issue 8 months ago • 3 comments

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": "[email protected]",
            "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

DuAell avatar Apr 22 '25 07:04 DuAell

Let's see how many patron:PLUS and patron:PRO supporters needs the feature and prioritize it based on that. 👍 Comment with "+1" if you need it!

devlikepro avatar Apr 28 '25 12:04 devlikepro

+1

mequelussi avatar Apr 28 '25 12:04 mequelussi

+1

alizeecpn avatar Apr 30 '25 05:04 alizeecpn

+1

patron:PLUS

duduccosta avatar May 06 '25 13:05 duduccosta

+1

DRIMOL avatar Jul 09 '25 17:07 DRIMOL