TNEENWH icon

TNEENWH

Use TNEENWH API operations

V1 Send Chat State

AI-generated

Summary

Send a chat state update (such as typing, recording, or stop) to a specified recipient via the TNEENWH v1 API.

Inputs

  • To (required) — The recipient's WhatsApp ID in the format like '201234567890@c.us' to whom the chat state is sent.
  • State (required) — The chat state to set; options are 'typing', 'recording', or 'stop'.
  • Session ID Override — Optional override for the session ID used to send the chat state. If blank, the default credential session ID is used.
  • Channel Secret Override — Optional override for the channel secret used with the session. If blank, the default credential channel secret is used.

Output shape

a single JSON object representing the response from the TNEENWH API for the chat state update request

Each input item produces a corresponding output item with the API response data. If an error occurs and Continue On Fail is off, execution stops and throws an error; if Continue On Fail is on, error details appear in the output item for that input.

Examples

Example 1: Sending typing state notification

Set 'To' to the recipient's WhatsApp ID and 'State' to 'typing'. Optionally override session ID or channel secret if needed.

Links

Discussion