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

Delete a poll option

You can delete a poll option by specifying the pollId and the pollOptionId in the deletePollOption() method.

await channel.deletePollOption(pollId, pollOptionId);