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

Delete a poll

You can delete a poll by specifying the pollId in the deletePoll() method and only the user who created the poll can delete the poll. Also channel operators can delete any poll in a channel as well.

await channel.deletePoll(pollId, OnCompleteCallback? onCompleted,);