stopPoll
End an active poll sent by your bot and retrieve the final results. Provide chat ID and message ID to stop it.
Instructions
Stop a poll which was sent by the bot. Returns the stopped Poll on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target channel (in the format @channelusername). | |
| message_id | Yes | Identifier of the original message with the poll. | |
| reply_markup | No | A JSON-serialized object for a new message inline keyboard. | |
| business_connection_id | No | Unique identifier of the business connection on behalf of which the message to be edited was sent. |