Zalo User icon

Zalo User

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

Zalo User → Thu hồi tin nhắn

AI-generated

Overview

This node allows users to manage Zalo User operations, specifically including the ability to undo (recall) a sent message in a Zalo chat. It is useful in scenarios where a user wants to retract a message they have sent to another user or group on Zalo, such as correcting mistakes or removing unintended messages.

Use Case Examples

  1. Undo a sent message in a Zalo chat by providing the thread ID, thread type, message ID, and client message ID.
  2. Manage Zalo user interactions by recalling messages to maintain conversation accuracy or privacy.

Properties

Name Meaning
Thread ID The ID of the user or chat thread from which the message will be recalled.
Thread Type The type of user or chat thread (e.g., individual or group) involved in the message recall.
msgId The unique identifier of the message to be recalled.
cliMsgId The client-side message ID associated with the message to be recalled.

Output

JSON

  • status - Indicates the success status of the undo message operation.
  • response - Contains the response data from the Zalo API after attempting to undo the message.

Dependencies

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

Troubleshooting

  • Ensure valid Zalo API credentials are provided; missing or invalid credentials will cause authentication failure.
  • If the undo message operation fails, check that the provided thread ID, thread type, msgId, and cliMsgId are correct and correspond to an existing message.
  • Common error messages include authentication errors or invalid parameter errors, which can be resolved by verifying credentials and input parameters.

Discussion