Fetches information about polls in the specified channel. If an ID string is supplied, it will be included in the query, otherwise all "ACTIVE" polls are included in the returned Voldemorts.
Note: Must be called from inside a Fiber.
The current TwitchPlugin.
Name of channel to fetch polls for.
ID of a specific poll to get.
Name of the calling function.
A Voldemort containing an array of TwitchPolls.
UnexpectedJSONException on unexpected JSON received.
https://dev.twitch.tv/docs/api/reference/#get-polls
Fetches information about polls in the specified channel. If an ID string is supplied, it will be included in the query, otherwise all "ACTIVE" polls are included in the returned Voldemorts.
Note: Must be called from inside a Fiber.