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

Delete a poll

Copy link

You can delete a poll by specifying the pollId and only the user who created the poll can delete the poll. Also channel operators can delete any poll in a channel as well.

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