Telegram Bot icon

Telegram Bot

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

Actions101

Message → Stop Poll

AI-generated

Summary

Stop a poll in a specific chat by providing the chat's identifier and the message ID of the poll to be stopped.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • Message ID (required) — Unique identifier of the target message containing the poll to be stopped.

Output shape

a single record containing the stopped poll object as returned by the Telegram API

The output JSON corresponds to the Telegram API response's result object representing the stopped poll. Errors are returned in the error envelope if the API call fails.

Examples

Example 1: Stop an active poll in a chat

Provide the target chat ID and the message ID of the poll message to stop it and retrieve the stopped poll data.

Links

Discussion