Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Actions133

Message → Delete Message

AI-generated

Summary

Delete a specified message from Zalo either for yourself or for all participants in a group chat.

Inputs

  • Message ID (required) — The unique ID of the message to be deleted.
  • Client Message ID (required) — The client-specific ID of the message to identify it uniquely.
  • Sender User ID (required) — The user ID of the sender who sent the message.
  • Only Me — Boolean flag to delete the message only for yourself (true) or for all members in the group chat (false; applicable only in groups). Defaults to true.

Output shape

a single response object indicating success or failure of the deletion request

The response does not include the deleted message data. Behavior depends on the 'Only Me' flag; if false in a group context, the message is deleted for all participants.

Links

Discussion