x Zalo User icon

x Zalo User

Interact with Zalo User API

Get → Get Last Message

AI-generated

Summary

Retrieve the last message from a specified Zalo thread by providing its Thread ID.

Inputs

  • Thread ID (required) — Specify the ID of the thread (chat) from which to get the last message.

Output shape

a single JSON object containing success status, resource and operation identifiers, the thread ID, and a message object with the last message's ID, text content, sender ID, and timestamp.

The returned object includes a 'message' field with details about the last message in the specified thread. The operation requires a valid Thread ID and the node must be authenticated with appropriate Zalo user API credentials.

Discussion