Chat / Flutter
Chat Flutter v3
Chat Flutter
Chat
Flutter
Version 3
Home
/
Chat
/
Flutter
/
Message
Sendbird Chat SDK v3 for Flutter is no longer supported as a new version is released. Check out our latest Chat SDK v4

Delete a poll

Copy link

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,);