Chat / JavaScript
Chat JavaScript v4
Chat JavaScript
Chat
JavaScript
Version 4
Home
/
Chat
/
JavaScript
/
Message

Close a poll

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

const poll: Poll = await channel.closePoll(pollId);