Chat / iOS
Chat iOS v4
Chat iOS
Chat
iOS
Version 4
Home
/
Chat
/
iOS
/
Message

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