PollListQuery

A class representing query to retrieve the list of polls.

Since

4.1.0

Properties

Link copied to clipboard

The type of the channel that this poll belongs to.

Link copied to clipboard

The url of the channel that this poll belongs to.

Link copied to clipboard

Whether there is a next page.

Link copied to clipboard

Whether the current query is in communication progress with server.

Link copied to clipboard
val limit: Int

The maximum number of polls per queried page.

Functions

Link copied to clipboard
fun next(handler: PollsHandler)

List all polls that belong to a channel specified by channelUrl. The response will be paginated and if there are more values available, hasNext will be true.