Actions29
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
- Status Actions
Message → Send Typing (Beta)
AI-generatedOverview
This node operation sends a typing or recording notification to a specified WhatsApp chat using the Green API. It is useful for indicating to the recipient that the sender is currently typing or recording a message, enhancing the interactivity and responsiveness of chat applications.
Use Case Examples
- Indicate to a user that a message is being typed in a customer support chat.
- Show a recording indicator when a voice message is being prepared before sending.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the chat where the typing notification will be sent. For private chats, use phone@c.us format; for group chats, use chatId@g.us format. |
| Typing Time (Ms) | The duration in milliseconds for which the typing or recording notification will be displayed. Must be between 1000 and 20000 milliseconds. |
| Typing Type | The type of typing notification to send, either 'typing' to show a typing indicator or 'recording' to show a recording indicator. |
Output
JSON
chatId- The chat ID where the typing notification was sent.typingTime- The duration the typing notification was displayed in milliseconds.typingType- The type of typing notification sent, either 'typing' or 'recording'.result- The response from the Green API confirming the typing notification was sent.
Dependencies
- Green API credentials including instance ID and API token for authentication.
Troubleshooting
- Ensure the Chat ID is correctly formatted and corresponds to an active WhatsApp chat.
- Typing Time must be within the allowed range (1000-20000 ms).
- The API token and instance ID must be valid and have the necessary permissions to send typing notifications.
- Common error messages include failures to send typing notification due to invalid credentials or network issues. Verify credentials and network connectivity.