MadelineProtoDocs/old_docs/API_docs_v109/constructors/messageUserVote.md

39 lines
761 B
Markdown
Raw Normal View History

2020-03-06 12:24:14 +01:00
---
title: messageUserVote
description: messageUserVote attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageUserVote
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[int](../types/int.md) | Yes|
|option|[bytes](../types/bytes.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [MessageUserVote](../types/MessageUserVote.md)
### Example:
```php
$messageUserVote = ['_' => 'messageUserVote', 'user_id' => int, 'option' => 'bytes', 'date' => int];
```
Or, if you're into Lua:
```lua
messageUserVote={_='messageUserVote', user_id=int, option='bytes', date=int}
```