x Zalo User icon

x Zalo User

Interact with Zalo User API

Message → Send Image

AI-generated

Summary

Send an image to a specified user or group thread by providing its ID and type, along with the URL of the image to send.

Inputs

  • Thread ID (required) — Recipient user ID or group ID where the image will be sent.
  • Thread Type — Specifies whether the thread is a user or a group; defaults to 'user'.
  • Image URL — URL of the image to send in the message.

Output shape

a JSON object per input item containing the success status, resource type, operation type, thread ID, image URL, and a timestamp indicating when the image was sent

Each output JSON includes a 'success' flag set to true, the operation metadata, and the ISO timestamp of sending. This is a placeholder response and does not integrate with actual Zalo API functionality.

Examples

Example 1: Send an image to a user

Set 'Thread ID' to the user ID, 'Thread Type' to 'user', and provide the 'Image URL' to send the image to that user.

Discussion