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

Close a poll

You can close a poll by specifying the pollId in the closePoll() method.

// Close an existing poll.
Poll result = await channel.closePoll(pollId: result.id);