MAX icon

MAX

Отправка сообщений и работа с API мессенджера MAX

Чат → Действие бота

AI-generated

Summary

Sends a bot activity indicator (typing, sending photo/video/audio/file) or a "mark as seen" action to a MAX group chat via POST /chats/{chatId}/actions.

Inputs

  • chatId (required) — ID of the group chat where the action is shown; inserted into the request URL.
  • chatAction (required) — Action to show: typing_on (typing), sending_photo, sending_video, sending_audio, sending_file, or mark_seen (mark as read). Defaults to typing_on.

Output shape

One output item per input item, containing the JSON response returned by the MAX API for the action request.

With 'Continue on Fail' enabled, a failed item yields { error: message } instead of stopping the workflow. The node does no retries for this operation.

Examples

Example 1: Show a typing indicator while a long-running step (e.g. an AI call) prepares a reply.

Resource: Чат; Operation: Действие бота; ID чата: {{ $json.chat_id }}; Действие: Печатает сообщение

Example 2: Mark a chat as read after the bot processes an incoming message.

Resource: Чат; Operation: Действие бота; ID чата set to the chat ID; Действие: Отметить как прочитанное

Links

Discussion