Zalo User icon

Zalo User

Quản lý người dùng Zalo

User → Gửi báo cáo

AI-generated

Overview

This node operation allows users to send reports related to Zalo users. It supports reporting different types such as users, content, or groups, with a specified reason for the report. This is useful for managing and moderating user interactions or content on the Zalo platform by flagging inappropriate or problematic entities.

Use Case Examples

  1. A user wants to report another user for inappropriate behavior by selecting 'Người dùng' as the report type and providing a reason.
  2. A user reports specific content by selecting 'Nội dung' as the report type, providing the content ID and a reason for the report.

Properties

Name Meaning
Report Type Specifies the type of report to send, such as user, content, or group.
Report Reason The reason or explanation for sending the report.
Content ID The ID of the content to report, required if the report type is content.

Output

JSON

  • status - Indicates the success status of the report operation.
  • response - The response data returned from the Zalo API after sending the report.

Dependencies

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

Troubleshooting

  • Ensure valid Zalo API credentials are provided; otherwise, the node will throw an error indicating no API instance found.
  • If the report fails, the node returns an error message in the output JSON under the 'error' key.
  • Check that the 'Content ID' is provided when the report type is 'content' to avoid incomplete report errors.

Discussion