Skip to content

RTKPolls

Last updated View as MarkdownAgent setup

The RTKPolls module consists of the polls that have been created in the meeting.

meeting.polls.items

An array of poll items.

Kind: instance property of RTKPolls

meeting.polls.create(question, options, anonymous, hideVotes)

Creates a poll in the meeting.

Kind: instance method of RTKPolls

Param Default Description
question The question that is to be voted for.
options The options of the poll.
anonymous false If true, the poll votes are anonymous.
hideVotes false If true, the votes on the poll are hidden.

meeting.polls.vote(pollId, index)

Casts a vote on an existing poll.

Kind: instance method of RTKPolls

Param Description
pollId The ID of the poll that is to be voted on.
index The index of the option.

Was this helpful?