/ SDKs / Flutter
SDKs
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Flutter
Version 3
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,);