devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
813 stars 248 forks source link

[Feature Request]Get Chats with NOWEB #303

Closed xMunduSCodEx closed 2 weeks ago

xMunduSCodEx commented 2 months ago

Hello any way to fetch chat using NOWEB and Phone Number Linking? as it's really annoying to scan the QR code needs 2 devices. the phone number is good option but i see that doesn't support to fetch the messages any idea?

allburov commented 2 months ago

Sorry, could you explain a bit what do you mean? " Phone Number Linking" is it like by pairing by code? Or emulating the real app, I don't get it :(

devlikepro commented 2 weeks ago

Start a brand new session - meaning call POST /api/sessions/logout before and POST /api/sessions/start with payload

{
  "name": "default",
  "config": {
    "noweb": {
      "enabled": {
        "store": true,
        "fullSync": false
      }
    }
  }
}

After that you'll have access those endpoints on NOWEB engine


https://waha.devlike.pro/docs/overview/changelog/#20246

You asked it, we did it - contacts, chats, and messages endpoints are now available in NOWEB engine! Please make sure to Enable NOWEB Store before using these endpoints.

patron:PRO