PollsApi

interface PollsApi

View and vote on polls.

See also

Functions

Link copied to clipboard
abstract suspend fun addVote(pollId: String, choices: List<Int>): Poll

Votes on a poll for the given choices.

Link copied to clipboard
abstract suspend fun getPoll(pollId: String): Poll?

Gets a single Poll's details.