Constructor: poll

Back to constructors index



Name Type Required Description
id long Yes ID
closed Bool Optional Closed?
question string Yes Question
answers Array of PollAnswer Yes Answers

Type: Poll


$poll = ['_' => 'poll', 'id' => long, 'closed' => Bool, 'question' => 'string', 'answers' => [PollAnswer, PollAnswer]];

Or, if you’re into Lua:

poll={_='poll', id=long, closed=Bool, question='string', answers={PollAnswer}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.