add Poll Option
Adds an option with optionText to this poll. Once added successfully, a non-null Poll instance will be passed to the ResultHandler.
Since
4.15.0
Parameters
poll Id
The ID of the poll to add an option
option Text
The option text to add
handler
The handler for the result
Deprecated
As of 4.17.0, replaced with awaitAddPollOption(pollId, optionText).
Replace with
awaitAddPollOption(pollId, optionText)
Content copied to clipboard
Add poll option
Return
The poll with added option
Since
4.15.0
Parameters
poll Id
The poll id to add option
option Text
The option text to add