Voting on a poll
meeting.polls.vote() method can be used to register a vote on a poll. It
accepts the following params.
|id||string||-||yes||The ID of the poll that is to be voted on.|
|index||number||-||yes||The index of the option.|
The following snippet votes for the 1st option on the 1st poll created in the meeting.
val poll = meeting.polls.items
val selectedPollOption = poll.options