Class StopPollMethod Use this method to stop a poll which was sent by the bot.
On success, the stopped Poll with the final results is returned.
| see | |
|---|---|
| package | Default |
create(string $chatId, integer $messageId, array|null $data = null) : \TgBotApi\BotApiBase\Method\StopPollMethod
string
integer
arraynull
\TgBotApi\BotApiBase\Method\StopPollMethodfill(array $data, array $forbidden = array())
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|---|
$chatId : integer | string
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType