Zalo Tương Tác icon

Zalo Tương Tác

Tương tác Zalo: tin nhắn, bạn bè, nhóm, tài khoản và custom API qua zca-js

Tool → Delete Message

AI-generated

Summary

Delete a specific message in a Zalo chat thread identified by its thread type (User or Group), thread ID, and message ID.

Inputs

  • Thread Type — Select the type of Zalo thread: User (0) or Group (1). Defaults to Group.
  • Thread ID (required) — Provide the ID of the user or group thread where the message was sent.
  • Message ID (required) — Specify the ID of the message to be deleted within the thread.

Output shape

a single response object indicating the success or failure of the delete message operation.

The operation requires the thread type to correctly identify the conversation context. Both Thread ID and Message ID are mandatory for identifying the message to delete. The response format follows standard Zalo API response conventions wrapped by the node implementation.

Examples

Example 1: Delete a message from a group thread

Set Thread Type to 'Group' (1), enter the group's Thread ID, and the Message ID of the message to delete.

Links

Discussion