Chat / Flutter
Chat Flutter v3
Chat Flutter
Chat
Flutter
Version 3
Home
/
Chat
/
Flutter
/
Message

Add a poll option

You can add a poll option to an existing poll by passing the pollId and the optionText as an argument to the parameter in the addPollOption() method.

// Add options to an existing poll.
var result = await channel.addPollOption(pollId: result.id, optionText: '4');