pollOptions()

pollOptions(pollId: number): PollOptions

Get an instance of the PollOptions module for a specific poll.

Parameters:

  • pollId (number): The ID of the poll for which you want to manage options.

Returns:

  • An instance of the PollOptions module.

Example:

const pollOptions = pollz.pollOptions(1);

Last updated