PollWidgetModel
An object that represents the Poll widget on the server.
-
The object that acts as the delegate for the
PollWidgetModel.
-
The
Options of the Poll Widget -
The question of the Poll Widget
-
The updated total count of votes on the Poll
-
The user’s votes on this Poll Call
loadInteractionHistoryto fetch votes before using -
The user’s vote with the most recent createdAt date
-
Sponsors linked to the Poll Widget
-
Call this to load the user’s interaction history for this Widget
-
Submit or update an already submitted vote by
optionID
PollWidgetModel Class Reference