addPollOption

fun addPollOption(poll: Poll, option: String)

Creates a new poll option for the given poll.

Parameters

poll

The poll to which the option will be added.

option

The text of the new option to be added.


fun addPollOption(pollId: String, option: String)

Creates a new poll option for the poll identified by pollId.

Parameters

pollId

The id of the poll to which the option will be added.

option

The text of the new option to be added.