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];

PWRTelegram json-encoded version:

{"_": "updateMessagePoll", "poll_id": long, "poll": Poll, "results": PollResults}

Or, if you’re into Lua:

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