Chat JavaScript v4
Chat JavaScript
Chat
JavaScript
Version 4
Home
/
Chat
/
JavaScript
/
Message
You can update a poll option by passing the pollId
, the pollOptionId
, and the optionText
parameters in the updatePollOption()
method.
You can update a poll option by passing the pollId
, the pollOptionId
, and the optionText
parameters in the updatePollOption()
method.
const updatedPoll: Poll = await channel.updatePollOption(pollId, pollOptionId, optionText);