2019-09-13 17:13:55 +02:00
---
title: pollResults
2019-12-27 17:48:04 +01:00
description: Results of poll
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pollResults
[Back to constructors index ](index.md )
2019-12-27 17:48:04 +01:00
Results of poll
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|min|[Bool](../types/Bool.md) | Optional|Similar to [min ](https://core.telegram.org/api/min ) objects, used for poll constructors that are the same for all users so they don't have option chosen by the current user (you can use [messages.getPollResults ](../methods/messages.getPollResults.md ) to get the full poll results).|
2019-09-13 17:13:55 +02:00
|results|Array of [PollAnswerVoters ](../types/PollAnswerVoters.md ) | Optional|Results|
2019-12-27 17:48:04 +01:00
|total\_voters|[int](../types/int.md) | Optional|Total number of people that voted in the poll|
2019-09-13 17:13:55 +02:00
### Type: [PollResults](../types/PollResults.md)
### Example:
```php
$pollResults = ['_' => 'pollResults', 'min' => Bool, 'results' => [PollAnswerVoters, PollAnswerVoters], 'total_voters' => int];
```
Or, if you're into Lua:
```lua
pollResults={_='pollResults', min=Bool, results={PollAnswerVoters}, total_voters=int}
```