Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs: record the SDK blocked-contacts method in the changelog
Yudhi Armyndharisb560ac2e7e26
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 63e41c49e..3ef7cee32 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- `docs-29-counts.spec.ts` binds every count-shaped claim in `docs/29` to the capability matrix, so a figure restated in the intro, the architecture prose, a mermaid node or a section heading cannot drift from the source it restates.- The JavaScript, Python, PHP, Go and Java SDKs expose `PUT /sessions/:id/presence`, which sets the account's own global presence. The gateway has published the route since v0.15.0 with no client counterpart, so a typed client had to fall back to a raw request. It is the account's presence, not a chat's — the per-chat typing and recording states are unchanged on the chats resource.- The JavaScript, Python, PHP, Go and Java SDKs expose the three group membership-request routes — list, approve and reject. The gateway has published them since v0.15.0 with no client counterpart. Omitting the participant list acts on every pending request, and an approval that WhatsApp refuses for some requesters still answers `200`, reporting the outcome per participant in `results`.+- The JavaScript, Python, PHP, Go and Java SDKs expose `GET /sessions/:sessionId/contacts/blocked`, which lists the ids the account has blocked. The gateway has published the route since v0.15.0 while every SDK shipped `block` and `unblock` with no way to read back what either one had done. The method is named `listBlocked` (`list_blocked` in Python) rather than `blocked`, which would sit one character from its two neighbours while taking a different argument list and returning a plausible-looking array. It needs only a read-level key, unlike `block` and `unblock`.### Fixed