TNEENWH icon

TNEENWH

Use TNEENWH API operations

Send Chat State

AI-generated

Summary

Send a chat state notification to a specified WhatsApp contact to indicate typing, recording, or to stop these states.

Inputs

  • To (required) — The recipient's WhatsApp ID, e.g., '201234567890@c.us'.
  • State (required) — The chat state to send, with options: 'typing', 'recording', or 'stop'.
  • Session ID Override — Optional override for the session ID to use instead of the default credential session.
  • Channel Secret Override — Optional override for the channel secret to use instead of the default credential secret.

Output shape

a single object representing the API response for the chat state send operation per input item

Each input item corresponds to one API response object. Errors for individual items can be included if 'Continue On Fail' is enabled.

Examples

Example 1: Send a 'typing' chat state to a WhatsApp contact

Set 'To' to the recipient's WhatsApp ID and 'State' to 'typing'. Optionally override sessionId and channelSecret if needed.

Links

Discussion