queryPolls
fun queryPolls(filter: FilterObject? = null, limit: Int? = null, next: String? = null, sort: QuerySorter<Poll>? = null): Call<QueryPollsResult>
Query polls with optional filtering, pagination, and sorting.
Return
Executable async Call responsible for querying polls.
Parameters
filter
The filter conditions to filter the polls. For available fields check Poll Queryable Fields.
limit
The maximum number of polls to return.
next
The pagination token for fetching the next set of results.
sort
The sort object for the query: Supported fields:
idUnique identifier of the pollnameName of the pollcreated_atPoll creation timestampupdated_atPoll last update timestampis_closedWhether the poll is closed or not