Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Message → Send Poll

AI-generated

Summary

Send a poll message to a specified Telegram chat with configurable question, options, and various poll settings.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • Question (required) — The poll question to be asked.
  • Poll Options (JSON) (required) — A JSON array of strings representing the possible answer options, e.g., ["Option A", "Option B"].
  • Reply Markup (JSON) — Optional inline keyboard or other reply markup as JSON to include with the poll.
  • Additional Fields — Optional collection of additional poll settings including anonymity, poll type (regular or quiz), multiple answers allowance, correct option ID for quizzes, explanation text for wrong answers, open period (5-600 seconds), close date (Unix timestamp), and disable notification flag.

Output shape

a single JSON object representing the sent poll message as returned by the Telegram API

The output includes the detailed Telegram message object under 'json'. Optional fields and error envelopes are returned if 'Continue on Fail' is enabled.

Examples

Example 1: Send a basic anonymous poll with two options

Set 'Chat ID' to the target chat, enter the poll 'Question', and provide options in 'Poll Options (JSON)'. Leave additional fields at defaults.

Links

Discussion