GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Service → setDisappearingChat

AI-generated

Summary

Set the disappearing message feature for a specified chat in WhatsApp.

Inputs

  • chatId (required) — The ID of the chat where you want to set disappearing messages, formatted as '79000000000@c.us'.
  • ephemeralExpiration (required) — The duration for which messages will disappear after being read, specified in seconds (e.g., 0 for off, 86400 for 24 hours).

Output shape

no body — success/failure only

Returns no body upon success; handles invalid chatId gracefully.

Discussion