Chat / iOS
Chat iOS v4
Chat iOS
Chat
iOS
Version 4
Home
/
Chat
/
iOS
/
Message

Delete a poll option

Copy link

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
    
}