MadelineProtoDocs/old_docs/API_docs_v103/constructors/updateMessagePoll.md
2019-08-15 20:25:16 +02:00

836 B

title description image
updateMessagePoll Update message poll https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateMessagePoll

Back to constructors index

Update message poll

Attributes:

Name Type Required Description
poll_id long Yes Poll ID
poll Poll Optional Poll
results PollResults Yes Results

Type: Update

Example:

$updateMessagePoll = ['_' => 'updateMessagePoll', 'poll_id' => long, 'poll' => Poll, 'results' => PollResults];

Or, if you're into Lua:

updateMessagePoll={_='updateMessagePoll', poll_id=long, poll=Poll, results=PollResults}