Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
Update openapi.json
Gabriel Moraes2d224c3786fd
diff --git a/openapi.json b/openapi.jsonindex 470c1289f..0dfd36c53 100644--- a/openapi.json+++ b/openapi.json@@ -1218,7 +1218,7 @@},"/api/sessions/{sessionId}/presence": {"put": {- "description": "Publishes whether this account appears online. WhatsApp routes notifications away from the phone while a linked device announces itself online, so a headless bot that never goes offline suppresses the phone's own alerts — set `available: false` to hand them back.\n\nThe setting belongs to the connection: it does not survive a restart or reconnect and must be re-issued after `session.status` reports one (on Baileys the socket re-announces itself per its connect-time behaviour). Supported on both engines.",+ "description": "Publishes whether this account appears online. WhatsApp routes notifications away from the phone while a linked device announces itself online, so a headless bot that never goes offline suppresses the phone's own alerts — set `available: false` to hand them back.\n\nThe setting belongs to the connection: it does not survive a restart or reconnect and must be re-issued after `session.status` reports one (on Baileys the socket re-announces itself per its connect-time behaviour). While the connection is up, the preference is remembered and re-asserted after typing/recording indicators and outbound sends, so a prior `available: true` is not lost when the account briefly shows as composing. Supported on both engines.","operationId": "SessionController_setOnlinePresence","parameters": [{