Actions18
- Message Actions
- Friend Actions
- Group Actions
- Get Actions
Message → Send Message
AI-generatedSummary
Send a text message to a specified Zalo user or group thread.
Inputs
- Thread ID (required) — Specify the recipient user ID or group ID where the message will be sent.
- Thread Type — Specify if the recipient thread is a User or a Group (default is User).
- Message — Enter the text content to send in the message.
Output shape
A single item containing a JSON object with details about the sent message, including success status, resource type, operation, thread ID, thread type, message content, and ISO timestamp of when the message was sent.
The output is a placeholder object confirming the message would be sent; it does not interact with the actual Zalo API in this node version.
Examples
Example 1: Send a text message to a user
Set 'Thread ID' to the user ID, select 'User' as thread type, and enter message content in 'Message'.
Example 2: Send a text message to a group
Set 'Thread ID' to the group ID, select 'Group' as thread type, and enter message content in 'Message'.