Actions36
- User Actions
- Chấp nhận lời mời kết bạn
- Gửi lời mời kết bạn
- Chặn người dùng
- Bỏ chặn người dùng
- Thay đổi cài đặt tài khoản
- Lấy thông tin người dùng
- Lấy danh sách bạn bè
- Tìm kiếm người dùng
- Đổi tên gợi nhớ
- Thu hồi tin nhắn
- Xóa tin nhắn
- Chặn/Bỏ chặn xem bài viết
- Thay đổi ảnh đại diện
- Lấy danh sách avatar
- Xóa avatar
- Sử dụng lại avatar cũ
- Cập nhật cài đặt người dùng
- Cập nhật thông tin cá nhân
- Thay đổi ngôn ngữ
- Lấy danh sách nhãn
- Cập nhật nhãn
- Tắt thông báo cuộc trò chuyện
- Lấy danh sách cuộc trò chuyện đã tắt thông báo
- Ghim/Bỏ ghim cuộc trò chuyện
- Lấy danh sách cuộc trò chuyện đã ghim
- Ẩn cuộc trò chuyện
- Lấy danh sách cuộc trò chuyện đã ẩn
- Cập nhật mã PIN cho cuộc trò chuyện ẩn
- Đặt lại mã PIN cho cuộc trò chuyện ẩn
- Lấy danh sách lời mời kết bạn đã nhận
- Lấy danh sách lời mời kết bạn đã gửi
- Hủy lời mời kết bạn đã gửi
- Gửi báo cáo
- Xem thời gian hoạt động gần nhất
- Lấy thông tin tài khoản
- Tag Actions
User → Thu hồi tin nhắn
AI-generatedOverview
This node operation allows users 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 either in a personal or group conversation. For example, if a message was sent by mistake or contains errors, this operation can be used to remove it from the chat for all participants.
Use Case Examples
- Undo a message sent in a personal chat by providing the thread ID, message ID, and client message ID.
- Undo a message sent in a group chat by specifying the group thread ID and message details.
Properties
| Name | Meaning |
|---|---|
| Thread ID | The ID of the user or group chat thread from which the message will be undone. |
| Loại cuộc trò chuyện | The type of conversation, either personal (Cá nhân) or group (Nhóm). |
| msgId | The ID of the message to be undone. |
| cliMsgId | The client message ID associated with the message to be undone. |
Output
JSON
status- The status of the undo message operation, typically indicating success.response- The response data returned from the Zalo API after attempting to undo the message.
Dependencies
- Zalo API credentials including cookie, IMEI, and user agent for authentication.
Troubleshooting
- Ensure that the provided thread ID, message ID, and client message ID are correct and correspond to an existing message.
- If the operation fails, check that the Zalo API credentials are valid and have the necessary permissions.
- Common error might include failure to undo a message if the message is too old or already deleted; in such cases, the API might return an error message.