/ SDKs / iOS
SDKs
Chat SDKs iOS v4
Chat SDKs iOS
Chat SDKs
iOS
Version 4

Close a poll

Copy link

You can close a poll by specifying the pollId in the closePoll() method.

channel.closePoll(pollId: poll.pollId) { poll, error in
    // A poll has been successfully closed.
}