addPollOption

fun addPollOption(pollId: Long, optionText: String, handler: PollHandler?)

Adds an option with optionText to this poll. Once added successfully, a non-null Poll instance will be passed to the PollHandler.

Since

4.5.0

Parameters

pollId

the id of the Poll to add poll option.

optionText

The text for the option to add.

handler

The callback handler.