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

Close a poll

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.
}