{
  "name": "Poll",
  "anchor": "poll",
  "description": [
    "This object contains information about a poll."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "id",
        "type": "String",
        "description": "Unique poll identifier"
      },
      {
        "field": "question",
        "type": "String",
        "description": "Poll question, 1-300 characters"
      },
      {
        "field": "question_entities",
        "type": "Array of MessageEntity",
        "description": "Optional . Special entities that appear in the question . Currently, only custom emoji entities are allowed in poll questions"
      },
      {
        "field": "options",
        "type": "Array of PollOption",
        "description": "List of poll options"
      },
      {
        "field": "total_voter_count",
        "type": "Integer",
        "description": "Total number of users that voted in the poll"
      },
      {
        "field": "is_closed",
        "type": "Boolean",
        "description": "True , if the poll is closed"
      },
      {
        "field": "is_anonymous",
        "type": "Boolean",
        "description": "True , if the poll is anonymous"
      },
      {
        "field": "type",
        "type": "String",
        "description": "Poll type, currently can be “regular” or “quiz”"
      },
      {
        "field": "allows_multiple_answers",
        "type": "Boolean",
        "description": "True , if the poll allows multiple answers"
      },
      {
        "field": "correct_option_id",
        "type": "Integer",
        "description": "Optional . 0-based identifier of the correct answer option. Available only for polls in the quiz mode, which are closed, or was sent (not forwarded) by the bot or to the private chat with the bot."
      },
      {
        "field": "explanation",
        "type": "String",
        "description": "Optional . Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters"
      },
      {
        "field": "explanation_entities",
        "type": "Array of MessageEntity",
        "description": "Optional . Special entities like usernames, URLs, bot commands, etc. that appear in the explanation"
      },
      {
        "field": "open_period",
        "type": "Integer",
        "description": "Optional . Amount of time in seconds the poll will be active after creation"
      },
      {
        "field": "close_date",
        "type": "Integer",
        "description": "Optional . Point in time (Unix timestamp) when the poll will be automatically closed"
      }
    ]
  },
  "notes": []
}