You can delete a poll option by specifying the pollId
and the pollOptionId
in the deletePollOption()
method. Also channel operators can delete any poll option of a poll as well.
channel.deletePollOption(pollId: poll.pollId, pollOptionId: poll.options.first?.pollOptionId) { error in }