Zalo OA icon

Zalo OA

Zalo Official Account API

Zalo OA → Get Conversation History

AI-generated

Summary

Retrieve a specified number of messages from the conversation history with a particular user on the Zalo OA platform.

Inputs

  • User ID (required) — The ID of the user whose conversation history is to be retrieved.
  • Offset — The starting position in the message list from which to begin fetching messages. Defaults to 0.
  • Count — The number of messages to retrieve from the conversation history, with a maximum of 50. Defaults to 10.

Output shape

a list of message items from the user's conversation history

The output includes up to 'Count' messages starting from the specified 'Offset'. If fewer messages exist, fewer items may be returned.

Links

Discussion