Zalo Send Message icon

Zalo Send Message

Gửi tin nhắn qua API Zalo sử dụng kết nối đăng nhập bằng cookie

Zalo Send Message → Gửi trạng thái tin nhắn

AI-generated

Overview

This node sends a message status update to a Zalo conversation using the Zalo API. It is useful for scenarios where you want to indicate the status of a message in a chat, such as sending a typing indicator or marking a message as delivered. For example, it can be used to show that a user is typing in a personal or group chat on Zalo.

Use Case Examples

  1. Sending a typing status to a personal chat thread.
  2. Sending a typing status to a group chat thread.

Properties

Name Meaning
ID cuộc trò chuyện / Thread ID The ID of the conversation to send the status to.
Loại cuộc trò chuyện The type of the conversation, either personal (Cá nhân) or group (Nhóm).

Output

JSON

  • success - Indicates if the status update was successful.
  • message - A message confirming the status update, e.g., 'OK'.

Dependencies

  • Zalo API credentials with cookie, IMEI, and user agent for authentication.

Troubleshooting

  • Ensure Zalo API credentials are correctly set and valid; otherwise, initialization will fail.
  • If the thread ID or type is incorrect, the status update may not be sent.
  • Common error: 'Zalo API not initialized' means the login to Zalo API failed; check credentials.
  • Errors related to sending typing events may occur if the API does not support the operation or if parameters are invalid.

Discussion