Chat Flutter v3
Chat Flutter
Chat
Flutter
Version 3
Home
/
Chat
/
Flutter
/
Message
You can update a poll option by specifying the pollId
, the pollOptionId
, and an updated string for optionText
parameters in the updatePollOption()
method.
You can update a poll option by specifying the pollId
, the pollOptionId
, and an updated string for optionText
parameters in the updatePollOption()
method.
// Update the text of a poll option. Poll poll = await channel.updatePollOption( pollId: result.id, pollOptionId: result.options[0].id, optionText: 'test', );