getAnonymousPoll()
getAnonymousPoll(pollToken: string): Promise<PollWithOptions>
Retrieve an anonymous poll using the provided poll token.
Parameters:
pollToken
(string): The anonymous voting token for the desired poll.
Returns:
A
Promise
resolving to the poll object (PollWithOptions
) associated with the provided poll token.
Example:
The getAnonymousPoll
method allows you to retrieve information about an anonymous poll using the anonymous voting token associated with that poll. This is particularly useful for displaying the results of anonymous votes or providing real-time updates for anonymous participation.
Note: Ensure that the provided pollToken
is valid and corresponds to an existing anonymous voting session.
Last updated