/ SDKs / iOS
SDKs
Chat SDKs iOS v4
Chat SDKs iOS
Chat SDKs
iOS
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.

channel.deletePoll(pollId: poll.pollId) { error in

}