Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
| Name | Type | Description | Required |
|---|---|---|---|
| chat_id | int | string | null | array | Unique identifier for the target chat or username of the target channel (in the format @channelusername) | no |
| message_id | int | null | Identifier of the original message with the poll | no |
| reply_markup | inlineKeyboardMarkup | null | stdClass | A JSON-serialized object for a new message inline keyboard. | no |
| token | string | null | You can use this method on another bot with specify this parameter | no |
| forgot | bool | null | You can set to not receive request result, dont set it or pass null for turn it off | no |
| answer | bool | null | You can set to answer to webhook, dont set it or pass null for turn it off | no |
Output : BPT\types\poll | BPT\types\responseError | bool
Static or normal : Static
request::stopPoll(chat_id: int | string | null, message_id: int | null, reply_markup: InlineKeyboardMarkup | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);request::stopPoll(['chat_id' => int | string | null, 'message_id' => int | null, 'reply_markup' => InlineKeyboardMarkup | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);request::stopPoll();