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

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.

await channel.deletePoll(pollId);