Yandex Messenger icon

Yandex Messenger

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

Actions11

Poll → Create

AI-generated

Summary

Creates a Yandex Messenger poll for a group chat or user by sending its title, answer choices, and optional poll settings and suggest buttons to the Bot API.

Inputs

  • Send To (required) — Choose a group chat by Chat ID or a user by login. The selected Chat ID or User Login is required; the bot must be a member of the group chat.
  • Poll Title (required) — The poll title or question.
  • Answers (required) — Enter 2–100 answer texts. The operation rejects a poll with fewer than 2 or more than 100 answers.
  • Suggest Buttons — Optionally add buttons with a title and directive: open a URL, send a message, invoke a server action, or change other buttons’ state. Buttons can be grouped into rows using Row Number; server action payloads are parsed as JSON.
  • Keep Buttons After Next Message — Controls whether suggest buttons remain under the poll after a newer message is sent; defaults to enabled.
  • Additional Fields — Optional poll settings: anonymity, maximum choices, reply message ID, thread ID, notification suppression, importance, payload ID, and raw suggest-buttons JSON. Raw suggest-buttons JSON takes precedence over the visual button builder.

Output shape

One output item per input item, containing the Yandex API response as its JSON value.

The operation sends a POST request to the Yandex Messenger create-poll endpoint. With Continue On Fail enabled, an item that encounters an error instead contains a JSON object with an error message.

Links

Discussion