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
array
null
\TgBotApi\BotApiBase\Method\StopPollMethod
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$chatId : integer | string
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType