Poll

This entity represents a poll, it is nested in a StatusMessage.

Properties

Property Type (Length) Description
guid GUID The GUID of the poll.
question String (255) The question of the poll.
poll_answer PollAnswers At least 2 nested PollAnswers.

Example

<poll>
  <guid>2a22d6c029e9013487753131731751e9</guid>
  <question>Select an answer</question>
  <poll_answer>
    <guid>2a22db2029e9013487753131731751e9</guid>
    <answer>Yes</answer>
  </poll_answer>
  <poll_answer>
    <guid>2a22e5e029e9013487753131731751e9</guid>
    <answer>No</answer>
  </poll_answer>
  <poll_answer>
    <guid>2a22eca029e9013487753131731751e9</guid>
    <answer>Maybe</answer>
  </poll_answer>
</poll>