codedao12 - Zalo Bot icon

codedao12 - Zalo Bot

Bot Zalo gửi tin, soạn tin, gửi ảnh...

Send Photo

AI-generated

Summary

Sends a photo from a URL to a Zalo chat using the configured bot credentials. Adds the caption to the request only when a nonempty caption is provided.

Inputs

  • Chat ID (required) — Identifier of the destination Zalo chat.
  • Photo URL (required) — URL of the photo to send.
  • Caption — Optional caption included with the photo.

Output shape

A list of input items with each item's json replaced by the Zalo API response.

The node sends a POST request to the bot API's /sendPhoto endpoint with chat_id, photo, and optionally caption. The bot token comes from the required Zalo Bot credential.

Links

Discussion