awaitGet

suspend fun Poll.Companion.awaitGet(params: PollRetrievalParams): Poll

Retrieves latest poll matching PollRetrievalParams.pollId instance from server. Once created successfully, Poll instance will be returned.

Return

Poll instance.

Since

4.17.0

Parameters

params

The parameters to retrieve a poll.


suspend fun PollOption.Companion.awaitGet(params: PollOptionRetrievalParams): PollOption

Fetches latest PollOption representation from the server. Once finished successfully, a PollOption instance will be returned.

Return

The poll option.

Since

4.17.0

Parameters

params

parameters for retrieving poll option.