MAX icon

MAX

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

Чат → Получить закреплённое

AI-generated

Summary

Fetches the currently pinned message of a MAX group chat by sending a GET request to the MAX Platform API's /chats/{chatId}/pin endpoint.

Inputs

  • chatId (required) — ID of the group chat whose pinned message should be retrieved. Inserted directly into the request URL.

Output shape

One output item per input item, with the MAX API response as its JSON (the pinned message data for that chat).

The node doesn't reshape the response, so the exact fields come from the MAX API. The source doesn't show what is returned when no message is pinned. The request runs once per input item. With 'Continue on Fail' enabled, a failed item returns { error: message } instead of stopping the workflow.

Examples

Example 1: Check which message is pinned in a group chat before replacing it.

Resource: Чат; Operation: Получить закреплённое; ID чата: -70931657203722

Example 2: Look up pinned messages for many chats listed in earlier items.

Resource: Чат; Operation: Получить закреплённое; ID чата set to the expression {{ $json.chatId }}

Links

Discussion