Yandex Messenger icon

Yandex Messenger

Send messages, manage chats, channels and polls via Yandex Messenger Bot API

Actions11

Message → Edit

AI-generated

Summary

Edits an existing Yandex Messenger text message for a group chat or user, optionally updating its suggest buttons and message fields.

Inputs

  • Send To (required) — Choose a group chat by Chat ID or a user by login. For a group chat, the bot must be a member.
  • Message ID (required) — ID of the message to edit; it must belong to the selected chat.
  • Text (required) — Replacement message text, up to 6000 characters.
  • Suggest Buttons — Optionally set buttons with URL, send-message, server-action, or button-state directives. Button rows with the same row number are grouped together; raw JSON in Additional Fields overrides the visual builder.
  • Keep Buttons After Next Message — Controls whether suggest buttons persist after a newer message is sent. Defaults to enabled; raw button JSON can specify its own persist value.
  • Additional Fields — Optional request fields include reply message ID, thread ID, link preview and notification controls, importance, payload ID, raw suggest buttons, and deprecated inline keyboard JSON.

Output shape

A list of items, each containing the API response in its json property.

The node sends a POST request to the Yandex Messenger sendText endpoint with the selected recipient, replacement text, message ID, additional fields, and configured buttons. With Continue On Fail enabled, an item-level error object is returned instead of failing the execution.

Links

Discussion