Zalo User icon

Zalo User

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

Zalo User → Thu hồi tin nhắn

AI-generated

Summary

Recalls a previously sent message in a Zalo thread using the message and client message IDs.

Inputs

  • threadId (required) — The ID of the user or thread where the message was sent.
  • threadType (required) — The type classification of the target thread.
  • msgId (required) — The server-assigned ID of the message to recall.
  • cliMsgId (required) — The client-assigned message ID of the message to recall.

Output shape

a single record

Returns the Zalo API response object indicating the outcome of the message recall operation.

Examples

Example 1: Recall a message sent to a user

Thread ID: '84901234567', Thread Type: '0', msgId: '17123456789', cliMsgId: '17123456789000'

Discussion