queryPollAnswers

fun queryPollAnswers(pollId: String, filter: FilterObject? = null, limit: Int? = null, next: String? = null, sort: QuerySorter<Answer>? = null): Call<QueryPollAnswersResult>

Query the answers (comments) of a poll with optional filtering, pagination, and sorting.

Unlike Poll.answers, which holds only the latest answers and the current user's own, this pages through all of them.

Return

Executable async Call responsible for querying the answers of a poll.

Parameters

pollId

The poll id.

filter

Additional filter conditions, combined with the answers-only condition. For available fields check Votes Queryable Fields.

limit

The maximum number of answers to return.

next

The pagination token for fetching the next set of results.

sort

The sort object for the query. Supported fields:

  • created_at Answer creation timestamp