MadelineProtoDocs/old_docs/API_docs_v104/constructors/pollAnswerVoters.md

41 lines
824 B
Markdown
Raw Normal View History

2019-08-15 20:25:16 +02:00
---
title: pollAnswerVoters
description: Poll answer voters
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pollAnswerVoters
[Back to constructors index](index.md)
Poll answer voters
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chosen|[Bool](../types/Bool.md) | Optional|Chosen?|
|option|[bytes](../types/bytes.md) | Yes|Option|
|voters|[int](../types/int.md) | Yes|Voters|
### Type: [PollAnswerVoters](../types/PollAnswerVoters.md)
### Example:
```php
$pollAnswerVoters = ['_' => 'pollAnswerVoters', 'chosen' => Bool, 'option' => 'bytes', 'voters' => int];
```
Or, if you're into Lua:
```lua
pollAnswerVoters={_='pollAnswerVoters', chosen=Bool, option='bytes', voters=int}
```