Zalo OA icon

Zalo OA

Zalo Official Account API

Zalo OA → Send Image Message

AI-generated

Summary

Send an image message to a specified user via the Zalo Official Account with a selectable message type and image source type.

Inputs

  • messageType — Select the type of message to send: Customer Service (cs), Transaction (transaction), or Promotion (promotion). Defaults to Customer Service.
  • userId (required) — Specify the User ID of the recipient who will receive the image message.
  • imageType — Select the type of image source: either an Image URL or an Image ID previously uploaded to Zalo OA.
  • imageUrl (required) — Provide the URL of the image to send when 'Image URL' is selected as the image type.
  • imageId (required) — Provide the image ID of an image already uploaded to Zalo OA when 'ID Hình Ảnh (Đã Upload)' is selected as the image type.

Output shape

no body — success/failure only

The operation does not return message content but indicates success or failure of sending the image message.

Links

Discussion