devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
878 stars 273 forks source link

[feature] api/sendLinkPreview - not implemented #184

Open ehussain opened 1 year ago

ehussain commented 1 year ago

Hello,

We are trying to make api request to api/sendLinkPreview end point but receiving error.

{
  "statusCode": 422,
  "message": "The method is not implemented by the engine.",
  "error": "Unprocessable Entity"
}

This feature is very important. Can we please get this feature on priority?

allburov commented 1 year ago

Hi! Link preview should be generated even in usual sendText messages in WEBJS, but it's broken right now, waiting for the fix https://github.com/pedroslopez/whatsapp-web.js/pull/2378

btw, NOWEB sends link preview in both cases - sendText and sendLinkPreview