Chat / Android
Chat Android v4
Chat Android
Chat
Android
Home
/
Chat
/
Android
/
Message
This is the new Docs for Chat SDK v4 for Android. To see the previous Docs, click here.

Delete a poll option

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, pollOptionId) { e ->
    if (e != null) {
        // Handle error.
    }
}