MadelineProtoDocs/docs/API_docs/constructors/pollAnswerVoters.md

41 lines
824 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01: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}
```