Chat / Flutter
Current version: v3
Chat Flutter v3
Chat Flutter
Chat
Flutter
Home
/
Chat
/
Flutter
/
Message

Delete a poll option

You can delete a poll option by specifying the pollId and the pollOptionId in the deletePollOption() method. Also channel operators can delete any poll option of a poll as well.

await channel.deletePollOption(
    pollId: result.id, pollOptionId: result.options[0].id, OnCompleteCallback? onCompleted,);