Actions9
- Message Actions
- Upload Actions
- Raw API Actions
Message → Send
AI-generatedSummary
Send a message to a specified chat or user in MAX Bot API, supporting text formatting, attachments, links, and notification options with automatic retry on attachment readiness errors.
Inputs
- Recipient Type (required) — Select whether to send the message to a chat (Chat ID) or a user (User ID).
- Chat ID — Identifier of the target chat when Recipient Type is 'Chat'.
- User ID — Identifier of the target user when Recipient Type is 'User'.
- Text — Message text content to send, supporting multiple lines.
- Format — Format mode for the message text, either HTML or Markdown.
- Additional Fields — Optional parameters including attachments (JSON array), a link object (JSON), notification enablement, disable link preview flag, and attachment retry settings.
Output shape
a list of JSON objects representing the sent message response with normalized fields including messageId, text, chatId/userId, and sender details.
Each input item yields a corresponding output item. If retrying attachments, delays are automatically handled. Errors produce node errors unless 'Continue On Fail' is enabled, in which case error info is included per item.
Examples
Example 1: Send message to a chat
Set Recipient Type to 'Chat', provide Chat ID, enter message Text, optionally configure Format and Additional Fields like attachments or notification.
Example 2: Send message to a user
Set Recipient Type to 'User', provide User ID, write message Text, and optionally configure other fields as needed.