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
Update a poll
Copy link
You can update a poll by creating and passing a PollUpdateParams
object as an argument to the parameter in the updatePoll()
method.
PollUpdateParams
Copy link
Parameter name | Type | Description |
---|---|---|
title | String | Specifies the title of a poll. |
data | PollData | Specifies an additional data to accompany the poll. A use case might be to provide explanations for incorrect quiz answers. |
allowUserSuggestion | bool | Determines whether to allow users to make suggestions. (Default: |
allowMultipleVotes | bool | Determines whether to allow users to vote on more than one poll options. (Default: |
closeAt | Long | Specifies the time when a poll has closed or will close in Unix seconds. If the value of this property is |