Zalo User icon

Zalo User

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

Zalo User → Thu Hồi Tin Nhắn

AI-generated

Summary

Undo a sent message

Inputs

  • threadId (required) — ID của người dùng cần thu hồi tin nhắn
  • threadType (required) — Loại user
  • msgId (required) — Message ID
  • cliMsgId (required) — Client message ID

Output shape

an array of objects, each containing a 'status' field (e.g., "Thành công") and a 'response' field with the API result

On success the operation returns a list of such objects; on failure it either throws or pushes an error object if continueOnFail is enabled.

Examples

Example 1: Undo a message in a private conversation

threadId=12345, threadType=1, msgId=msg678, cliMsgId=cli987

Example 2: Undo a message in a group chat

threadId=98765, threadType=2, msgId=msg1122, cliMsgId=cli3344

Links

Discussion