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.