whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

[BUG][NOWEB] - The documentation has empty payload for webhooks - group.join, group.leave

Open AliSot2000 opened this issue 7 months ago • 2 comments

Describe the bug

The documents in the Webhooks state.changed, group.join and group.leave have a payload that doesn't specify the data format within it. It only says object.

Version

{
  "version": "2024.6.8",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": "/usr/bin/chromium"
}

To Reproduce Steps to reproduce the behavior:

  1. Start a Docker container.
  2. Go to 'http://localhost:3000/#/webhooks/postgroup_join' or 'http://localhost:3000/#/webhooks/postgroup_leave' or 'http://localhost:3000/#/webhooks/poststate_change'
  3. Expand the documentation
  4. Scroll down to 'Request Body'
  5. Click on 'Schema'
  6. Observe the field payload only says object but no further documentation.

Expected behavior Have any documentation there.

Engine I'm using NOWEB engine.

EDIT: Forgot about the statet.changed webhook.

AliSot2000 avatar Jul 01 '24 21:07 AliSot2000