get_poll
Retrieve a poll from a Talk conversation to see its question, options, and vote details. Understand which options you voted for and view results based on the poll's visibility settings.
Instructions
Get a poll from a Talk conversation.
Returns poll details including question, options, current votes (if visible), and which options the current user voted for.
Vote visibility depends on the poll's result_mode:
"public": votes are visible after you vote.
"hidden": votes are only visible after the poll is closed.
Args: token: The conversation token. Use list_conversations to find tokens. poll_id: The poll ID. Poll IDs appear in chat messages when a poll is created.
Returns: JSON object with poll details: id, question, options, status, result_mode, max_votes, votes, num_voters, voted_self.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| poll_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |