Zalo User icon

Zalo User

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

User → Ẩn cuộc trò chuyện

AI-generated

Overview

This node operation allows users to hide or unhide conversations in Zalo by setting the hidden status of a specific chat thread. It is useful for managing chat visibility, such as hiding personal or group conversations from the main chat list without deleting them.

Use Case Examples

  1. A user wants to hide a specific group chat to reduce clutter in their chat list.
  2. An admin wants to unhide a previously hidden personal conversation to make it visible again.

Properties

Name Meaning
Thread ID The unique identifier of the chat thread to be hidden or unhidden.
Thread Type Specifies whether the conversation is a personal chat (0) or a group chat (1).
Hidden Status Boolean value to set the conversation as hidden (true) or visible (false).

Output

JSON

  • status - Indicates the success or failure status of the operation.
  • response - The response data from the Zalo API after setting the hidden status of the conversation.

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 API call to set hidden conversations fails, the error message from the API will be returned in the output. Check the error message for details and verify the thread ID and type are correct.

Discussion