Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Actions133

Message → Send Message

AI-generated

Summary

Send a message to a specific Zalo user or group chat with customizable content, attachments, styles, mentions, urgency, and optional quoting of another message.

Inputs

  • User/Group Id (required) — ID of the Zalo user or group to send the message to.
  • Thread Type (required) — Type of the conversation thread, either User or Group.
  • Message — Text content of the message to send.
  • Attachments — One or more file paths or URLs to attach to the message.
  • Styles — List of text styles (bold, italic, underline, color, size, lists, indent) applied at specific positions in the message.
  • Mentions — List of user mentions specifying their position, user ID, and length within the message text.
  • Urgency (required) — Priority level of the message: Default, Important, or Urgent.
  • Quote Message — A JSON object representing a message to quote in the sent message.
  • Message Lifetime — Time-to-live duration for the message in seconds.

Output shape

a single result object indicating the outcome of the send message request.

The response includes status details about the sent message. Attachments can be provided either as fixed collection paths or as a comma-separated string of URLs.

Links

Discussion