Zalo Người dùng by diginno.net icon

Zalo Người dùng by diginno.net

Quản lý người dùng Zalo by diginno.net

Tin Nhắn → Xóa Tin Nhắn

AI-generated

Summary

Deletes a specific Zalo message from a thread, optionally removing it for all participants.

Inputs

  • deleteThreadId (required) — ID of the conversation containing the message to delete.
  • deleteThreadType (required) — Type of conversation (0 for User, 1 for Group).
  • deleteMsgId (required) — Message ID of the message to delete.
  • deleteCliMsgId (required) — Client message ID of the message to delete.
  • deleteUidFrom (required) — Original sender user ID of the message (from upstream payload).
  • deleteOnlyMe — If true, deletes the message locally for this account only; if false, attempts to delete it for all participants.

Output shape

A single record containing the operation status, thread ID, message ID, and the raw API response.

The API response is passed through; success is indicated by the presence of the response object in the output.

Examples

Example 1: Remove a sent message locally for the current account

Set deleteOnlyMe to true with valid thread, message, and client IDs.

Example 2: Attempt to remove a message for all participants in a group

Set deleteOnlyMe to false with valid thread, message, and client IDs.

Links

Discussion