/ SDKs / Android
SDKs
Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
Android
Version 4

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.

KotlinKTX
channel.deletePollOption(pollId, pollOptionId) { e ->
    if (e != null) {
        // Handle error.
    }
}