mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1018 B
1018 B
title | description | nav_exclude | image |
---|---|---|---|
updateMessagePollVote | A specific peer has voted in a poll | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateMessagePollVote
A specific peer has voted in a poll
Attributes:
Name | Type | Required | Description |
---|---|---|---|
poll_id | long | Yes | Poll ID |
peer | long | Yes | The peer that voted in the poll |
options | Array of bytes | Yes | Chosen option(s) |
qts | int | Yes | New qts value, see updates » for more info. |
Type: Update
Example:
$updateMessagePollVote = ['_' => 'updateMessagePollVote', 'poll_id' => long, 'peer' => long, 'options' => ['bytes', 'bytes'], 'qts' => int];